I am having an output like this:"<p><strong>this</strong> is for <span style=""background-color: rgb(255, 255, 0);"">Group</span> Inputter d</p>"
I need to display it in an Expression while preserving the bold formatting for "this" and the yellow background color for "Group". How can I achieve this in OutSystems Reactive?
Hi Deepak, you can use InjectHTML forge component to inject HTML code into the pages. Please find below link for the same : https://www.outsystems.com/forge/component-overview/7239/injecthtml-o11
Hi Deepak
To display HTML content with styles from a REST API on your OutSystems screen, the method depends on whether you are using a Traditional Web or Reactive Web/Mobile application.
Traditional Web Applications
If you are working in a Traditional Web app, use the built-in Expression widget:
Reactive Web and Mobile Applications
Reactive Web and Mobile apps do not have an "Escape Content" property on standard expressions.
Use a Forge Component (Recommended)
ODC Applications
Use forge component Inject HTML
Hope it helps.
Regards
Murali
Thank you all for your suggestion, I have got the expected output