Merge remote-tracking branch 'soapbox/develop' into modals-stack
This commit is contained in:
commit
39f2106bf7
|
@ -14,12 +14,11 @@ export const stripCompatibilityFeatures = html => {
|
|||
'.recipients-inline',
|
||||
];
|
||||
|
||||
// Remove all instances of all selectors
|
||||
selectors.forEach(selector => {
|
||||
const elem = node.querySelector(selector);
|
||||
|
||||
if (elem) {
|
||||
node.querySelectorAll(selector).forEach(elem => {
|
||||
elem.remove();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
return node.innerHTML;
|
||||
|
|
Loading…
Reference in New Issue