[erlang-questions] beginner: Generating HTML with ">" from Erlang

Magnus Henoch magnus@REDACTED
Thu Feb 13 13:50:04 CET 2014


Anthony Ramine <n.oxyde@REDACTED> writes:

> Why do you want to do that?
>
> An HTML document with a single « > » in the middle of nowhere is not valid nor well-formed HTML.

It is in fact valid HTML.  Try pasting the following into
http://validator.w3.org/#validate_by_input :

<!DOCTYPE html>
<title>This is > the title</title>
<body>This is > the body</body>

A standalone greater-than sign is also valid in XML.

Regards,
Magnus



More information about the erlang-questions mailing list