string: Escape all HTML’s metacharacters.
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Thu, 4 Dec 2014 16:44:41 +0000 (11:44 -0500)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Thu, 4 Dec 2014 19:26:27 +0000 (14:26 -0500)
commitbb1c93aded85eb35154b01a1b67c5fa0058d8207
tree3510e4f7bef865dbb105d263f4c59d8c8daaec1b
parent1c8b22d7a28a39e462e64db8601488b9fa71cb6a
string: Escape all HTML’s metacharacters.

In `html_escape`, escape all characters that OWASP recommends to escape.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
lib/html/html.nit
lib/standard/string.nit
tests/sav/html_page.res
tests/sav/nitlight_args1.res
tests/sav/nitunit_args1.res
tests/sav/test_docdown_args1.res