Forum Discussion
HaidongG
11 years agoLithium Alumni (Retired)
map you share the code output the string? did you try
${somestring?html}
- Gursimrat11 years agoLeaderThis issue is that i have put a limit of 100 characters, and it strips off the first few characters img tag, and it appears as a broken image. I think I need to use regex to handle this so I can skip a the tags and skip to the next text.
- Gursimrat11 years agoLeaderIs it possible to display only text without using regex? Is there a way the returned result is not in HTML format and just displays the plain text so I don't have to use the regex.
- PaoloT11 years agoLithium Alumni (Retired)
Hi,
you can either create and call an endpoint to do the filtering for you using one of the stripping tools provided in the utils context object , or call the rest API directly and implement the HTML stripping logic in your application.
Hope this helps,