KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Using escapes for syntax characters on styling text tags
PRODUCT: 4D | VERSION: 14 R5 | PLATFORM: Mac & Win
Published On: August 14, 2015

Whenever using styling text tags for rendering inside of variables, fields, listboxes, and etc., there are times when syntax characters ( <, >, &) are needed to be shown as text. The result of the following example may occur while trying to display "&" which fails to render in a variable text:



The following can be used to escape for those cases:


  • &lt; (<)

  • &gt; (>)

  • &amp; (&)

The escape can be inserted back in the following code shown in red:



The style text rendered correctly: