Text.this

Construct a text (aka PCData) section

class Text
@safe pure
this
(
string content
)

Parameters

content string

the text. This function encodes the text before insertion, so it is safe to insert any text

Examples

auto Text = new CData("a < b");
   // constructs a &lt; b

Meta

Suggestion Box / Bug Report