Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rely less on DOM sanitization for *marked* work-around
* Additional check just keeps it cleaner but the browser could change how it handles an isolated close tag... so just don't create it if it's blocked with a pre block test... plus a few bytes less out. Only need to do this on additions. `.replace` on empty string doesn't add nor on another tag such as `a` which can show up here. Post OpenUserJS#2014 and applies to OpenUserJS#1775
- Loading branch information