Skip to content

Commit

Permalink
Remove footnote text in chapter for knoxt.space
Browse files Browse the repository at this point in the history
See: #1002
  • Loading branch information
dteviot committed Jul 9, 2023
1 parent c2f3af8 commit 6a3d57b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/js/parsers/NoblemtlParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class NoblemtlParser extends Parser{
let toRemove = [...element.querySelectorAll("p")]
.filter(p => p.style.opacity === "0");
util.removeElements(toRemove);
util.removeChildElementsMatchingCss(element, "span.modern-footnotes-footnote__note");
super.removeUnwantedElementsFromContentElement(element);
}

Expand Down

0 comments on commit 6a3d57b

Please sign in to comment.