HTML encode

<< Click to Display Table of Contents >>

Navigation:  HTML and Plain text >

HTML encode

To encode text to HTML (escape) use the following functions from htmlpars unit:

 

  function HtmlEncode(const s: hstring): hstring;
  function HtmlEncodeAttr(const s: hstring): hstring;