Stringfunctions+ | Formula HTMLSPECIALCHARS

Description

This formula replaces special HTML characters.

Formula(s)

PHP
{=HTMLSPECIALCHARS("Text";Flags)}

Result

  • String

Parameters

Parameter
Content
Format
Default value
Explanation

Text

Text in which the special HTML characters are to be replaced

String

 

Fixed text or content from other attributes (e.g. via the ATTRVAL formula) can be used as source text.

Flags

Special characters to be replaced

Integer

ENT_NOQUOTES

  • Possible values:

  • ENT_COMPAT

  • ENT_QUOTES

  • ENT_NOQUOTES

  • ENT_IGNORE

  • ENT_SUBSTITUTE

  • ENT_DISALLOWED

  • ENT_NOQUOTES

  • ENT_XML1

  • ENT_XHTML

  • ENT_HTML5