Tech Tip: Some characters must be encoded in a multi-styled text object
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: January 29, 2024
When creating a multi-styled text data, it is important to encode some characters accordingly. Otherwise, they may be considered as part of the html structure which can break the rendering of the multi-styled text.
A character such as &, <, or > should be encoded or replaced with an HTML entity.
For example:
& replaced with & or &
< replaced with < or <
> replaced with > or >
Below is an example of the multi-styled text object
without encoded data
with encoded data