RenderHtml

protocol RenderHtml

Converts a value to an HTML-safe string; the default escapes its Showable representation.

Methods

func render_html() -> String

Returns HTML-safe text for insertion into markup.

View Source
func render_html() -> String {
	escape_html(value: self.show())
}