Skip to main content

Module html_emitter

Module html_emitter 

Source
Expand description

HTML string building utilities โ€” entity escaping and tag emission.

Functionsยง

doctype
Emit the HTML5 DOCTYPE declaration.
escape_attr
Escape an attribute value for safe inclusion in a quoted HTML attribute.
escape_text
Escape text content for safe inclusion in HTML.