HTML generated by Spotfire is not working for some of the users on Webplayer.

When we add an image to the Text-Area, below is the HTML that is generated by Spotfire
HTML CODE
<IMG style="HEIGHT: 60px; WIDTH: 205px" border=0 src="011f60f7b5ea4530910f9863ca7c940d.png" width=663 height=260 >

This HTML Code is not working for some of the users on Webplayer. Below is the error message that was recorded on the server:
"Spotfire.Dxp.Application.Visuals.HtmlTextArea - GetSanitizedHtmlContent for text area 'Text Area' on page 'Landing Page': HTML sanitation discovered 2 issue(s): Ln 0, Ch 0: Parse error: 'End tag </img> was not found'. Ln 0, Ch 1: The element 'img' is not supported."

Why are the users getting HTML issue when the HTML was generated on default by Spotfire only. Is the HTML generated incorrectly by Spotfire?

Also if I don't want to turn off the HTML Sanitation, what alternative fix do I have?

1 Comment

Hello Aditya,

Please read through this thread:  https://community.tibco.com/questions/why-html-sanitation-enabled-default

and that will give more insight into this issue.

Tiru. M - Oct 12, 2017 - 6:31am ::
+ Add a Comment

(1) Answer

Login