[erlang-questions] How do I reformat and output HTML strings as iolists in a convenient way?

Tim Fletcher <>
Wed Nov 23 19:37:23 CET 2011


> Now which library should I use if I want a lean, clean syntax in my module.
> Or, put in another way: "Maximal html expressability with minimal erlang
> verbosity."

MochiWeb also has this functionality tucked away with its HTML parser,
take a look at mochiweb_html:to_html/1.

Source: https://github.com/mochi/mochiweb/blob/master/src/mochiweb_html.erl

Tim



More information about the erlang-questions mailing list