Supported and Unsupported Characters in Data

Your data may contain characters which can have a special meaning in a different context, e.g. can be interpreted as code. Typically the symbols greater than > and less than < can cause issues because they mark the beginning/end of a HTML tag. The following table explains how such characters are treated in Pricefx.

Characters / Examples of data

Status

Characters / Examples of data

Status

Special characters from range 0h – 1Fh

Will be removed, except for:
\t
\n
\r

< {any}

Will stay unchanged

< 5
<5

Will stay unchanged

<{letter}

Will be considered a tag and will be removed or closed (and a closing tag will be added)

For example:

  • <b will be <b></b>

  • <x will be removed

<!

Will be removed, as this is considered a start of <!-- which can be used for an XSS attack.

</

Will be considered a closing tag.

HTML

Supported HTML tags and attributes are listed here.

  • Supported tags can be formatted/normalized, i.e. tag definition changed to lowercase, spaces removed/added, or the end of a tag changed from <hr> to <hr /> etc.

  • If a closing tag in paired tags is missing, it will be added.

  • Paired tags which are not defined logically will be removed, e.g. <pre></pre> as these have no effect. (Paired tags must surround the text you want format.)

  • Tags which are not defined logically (internally) will be removed, e.g. <input>, <span>, <img> – these do not make sense.

  • In special cases, the tag <li> will be supplemented by a parent tag to <ul><li></li></ul>.

 

Found an issue in documentation? Write to us.