HelKyle opened this issue 7 years ago · 1 comments
when getting nodeValue of the TextNode, trim it (or ignore spaces?) first so the code below will working fine.
<h1> foo </h1>
Preference is to leave it to the module consumer to do this type of sanitisation before calling charming
charming