THTMLWriter.EscapeText function
Escapes HTML special characters
Declaration
function EscapeText(AText: string): string; overrideArguments
AText | Input text to be escaped |
Function result
Text with HTML characters escaped
Description
Escapes HTML special characters in text to prevent them from being interpreted as markup. Replaces ampersand (&), less-than (<), greater-than (>) characters with their HTML entities, and converts line feeds to HTML line breaks (<BR>).
See also
- EscapeText
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
