evhttp_htmlescape

Escape HTML character entities in a string.

Replaces <, >, ", ' and & with &lt;, &gt;, &quot;, &#039; and &amp; correspondingly.

The returned string needs to be freed by the caller.

@param html an unescaped HTML string @return an escaped HTML string or NULL on error

extern (C) nothrow
char*
evhttp_htmlescape
(
const(char)* html
)

Meta