Skip to main content

Module ui

Module ui 

Source
Expand description

HTML-escape helper used by Rust code that still concatenates small fragments outside the main minijinja templates (e.g. FK cell links inside list_render, form-field controls inside form_render). Every shell element — topbar, sidebar, page header — is rendered through templates as of 0.10.

When templates can express something completely, prefer the template path over adding helpers here.

Functions§

html_escape
HTML-escape user-supplied text for interpolation into attributes and text content. Handles &, <, >, ", '.