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

Anthony Ramine <>
Thu Feb 13 13:38:14 CET 2014


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.

Why would an HTML tool do that?

-- 
Anthony Ramine

Le 13 févr. 2014 à 13:34, Bengt Kleberg <> a écrit :

> Greetings,
> 
> Is there an Erlang library that allows me to generate HTML from Erlang
> and that can stop ">" from turning into ">"?
> 
> Previously I used
> xmerl:export_simple( [{html, [], [Body]}], xmerl_xml ).
> where Body could be {body, [], ["Some text with >"]}.
> xmerl will transform ">" into ">", but until now the HTML has worked
> well.
> 
> Now I need to keep ">".
> 
> 
> bengt
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list