Replaces the three characters that would otherwise be read as markup. Use it on any text of unknown origin – a variable label, a file name, a user-supplied caption – before pasting it into HTML or XML.
Details
Quotes are escaped as well when attribute = TRUE, which is
required for text placed inside an attribute value rather than between
tags.
See also
Other html:
asFileLink(),
asHtml(),
asImg(),
embedFile(),
htmlNotation,
htmlSubscript,
preview(),
preview.html(),
toHtmlTable()
