WackoWiki: Raw HTML

https://wackowiki.org/doc     Version: 6 (14.01.2022 11:20)


Problem: there are two different tasks - to put plain text into a wiki, so that it is displayed unmodified; and to put HTML into a wiki, so that it is displayed unmodified, i.e. rendered by the browser.

Proposed solution:
  1. The double quote syntax solves the first problem. On their contents, htmlspecialchars() is executed. Done.
  2. The second problem is solved by the new syntax. Done.
    1. The <# #> is proposed.
  3. In the second task, depending on the option in the configuration file, the dangerous HTML code is removed or not removed. Done.
    1. see SafeHTML[link1] - anti-XSS HTML parser

Dangerous code is: