Defang tests

To make sure Defang is enabled, the following should be a block of red text instead of an image:


Defang interferes with markup in various ways1.

One interference is with decoding the hex sequences for certain special characters in URLs:

Another interference is that Defang actually destroys certain types of links:

YouTube links, once expanded (i.e. not in preview mode) are defanged too: embed src becomes `embed defang_src:

  1. for example, it defangs the id attribute of footnotes (their a and li elements). ↩