elemi

Undocumented in source.

Members

Functions

elem
Element elem(T content)
Element elem(string[string] attributes, T content)

Create a HTML element.

escapeHTML
string escapeHTML(string text)

Escape HTML elements.

processContent
string processContent(T content)

Process the given content, sanitizing user input and passing in already created elements.

serializeAttributes
string serializeAttributes(string[string] attributes)

Serialize attributes

Structs

Element
struct Element

Represents a HTML element.

Meta