mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Satisfy formatter
This commit is contained in:
parent
861c723ec0
commit
35beebcfa6
1 changed files with 1 additions and 4 deletions
|
@ -30,10 +30,7 @@ function allowNone(element: Element): void {
|
|||
}
|
||||
|
||||
const allow = (attrs: string[]): FilterMethod => (element: Element): void =>
|
||||
filterAttributes(
|
||||
(attributeName: string) => attrs.includes(attributeName),
|
||||
element
|
||||
);
|
||||
filterAttributes((attributeName: string) => attrs.includes(attributeName), element);
|
||||
|
||||
function unwrapElement(element: Element): void {
|
||||
element.replaceWith(...element.childNodes);
|
||||
|
|
Loading…
Reference in a new issue