KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Converting Multistyle text to document
PRODUCT: 4D | VERSION: 15 | PLATFORM: Mac & Win
Published On: February 18, 2016

Using Text To Document on a multistyle text variable will escape the text content.
For example, if the following text in a multistyle variable is converted to a document:

<p>This is a paragraph</p>

Will become the following in the document:

&lt;p&gt;This is a paragraph&lt;/p&gt;

To prevent the automatic escaping of characters, the multistyle property should be turned off on the text variable.