encodeHtmlEntities

Encodes special HTML characters ('<', '>', '&') into HTML entities. If inAttribute is true, '"' and '\'' are also encoded.

string
encodeHtmlEntities
(
bool inAttribute = true
)
(
string s
)

Meta