markdown-js icon indicating copy to clipboard operation
markdown-js copied to clipboard

Fix: never render <null> or <undefined> html tags

Open jvatic opened this issue 12 years ago • 1 comments

If a preprocessor needs to remove a tag, this patch allows it to do so by making the tag null or undefined.

jvatic avatar May 08 '13 00:05 jvatic

Is there a reason to blank out a node rather than removing it from the tree entirely (by using splice, for example)?

Do you an example use case for this?

evilstreak avatar Aug 22 '13 17:08 evilstreak