This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

HTML content loaded on Rich Text Control via SmartObject load/read method does not get rendered correctly.

Symptoms

The Rich Text Control stops rendering the content once it spots invalid HTML.

For example: This line should be changed:

<span style="line-height:28px; font-family:&quot;Arial&quot;,serif; font-size:24px; font-weight:bold">

to:

<span style="line-height:28px; font-family:Arial,serif; font-size:24px; font-weight:bold">

Troubleshooting Steps

Ensure that the SmartObject used to load the content to the Rich Text Control is storing valid HTML.