I'm trying to escape the characters < and >, e.g. in:
description: "some file <x> bla bla"
Note: x should be generated literally.
The generated HTML code always generates a <li>
and/or <ul>
, because of the < and >, which clearly should not happen.
What I tried is:
HTML escaping should do the trick:
description: "some file <x> bla bla"