Problem
Using the HTMLGenerator, if there is html inside of code blocks, it will be rendered as html instead of as text. This causes undefined behaviour.
Example: here, a css stylesheet is being rendered, messing up the webpage. (see highlighted line)

Proposed solution
Replace all <
with <
inside of code blocks and >
with >
.