getHTMLRawTextOnly

This is like getHTMLMixin, but returns only the NON-code portions of the diet template. The usage is for the DietLiveMode, which can update the HTML portions of the diet template at runtime without requiring a recompile.

nothrow @safe
string
getHTMLRawTextOnly

Parameters

doc Document

The root nodes of the DOM tree.

range_name string

Optional custom name to use for the output range, defaults to _diet_output.

style HTMLOutputStyle

Output style to use.

Return Value

Type: string

The return value is a concatenated string with each string of raw HTML text separated by a null character. To extract the strings to send into the live renderer, split the string based on a null character.

Meta