How to remove whitespace-only text nodes from the DOM. #888
Unanswered
shyakadavis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Don't know if this is an issue with the lib, or I messed up somewhere in my configuration. But basically, within my
pre
elements, there are two whitespace-only text nodes being added (before and aftercode
elements.)Anyone how to remove these? They're messing up my content inside code blocks.
Thanks.
My config:
Beta Was this translation helpful? Give feedback.
All reactions