Web client does not display images, instead displays links
I have been using RTC 3.0 and my customized Project Area with a custom attribute and presentation for the Wiki type.
I use a default value to populate my attribute upon work item creation, so as to add, for example, number list and image links.
sample content:
<<<xhtml
Embed XHTML code on the page. My list:<br/>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<br />
<img src="http://www.w3schools.com/images/pulpit.jpg" alt="my super picture"/>
</ul>
>>>
This worked fine in 3.0. but does not work in 3.0.1.4 or 4.0 (but Eclipse Client works fine).
With the new versions, the raw content is displayed.
Is this a bug?
I use a default value to populate my attribute upon work item creation, so as to add, for example, number list and image links.
sample content:
<<<xhtml
Embed XHTML code on the page. My list:<br/>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<br />
<img src="http://www.w3schools.com/images/pulpit.jpg" alt="my super picture"/>
</ul>
>>>
This worked fine in 3.0. but does not work in 3.0.1.4 or 4.0 (but Eclipse Client works fine).
With the new versions, the raw content is displayed.
Is this a bug?
One answer
I found that RTC is behaving as designed: the wiki part is working as designed, but the ability to use raw html was removed to prevent script insertion.
However, Allow the Wiki part to show XHTML (228452)
was opened to address this change of behavior.
However, Allow the Wiki part to show XHTML (228452)
was opened to address this change of behavior.
Comments
Ginny Ghezzo
JAZZ DEVELOPER Sep 04 '12, 11:22 a.m.Eric: Glad you got an answer that makes sense. I must ask, where is that amazing picture taken?
Eric Jodet
JAZZ DEVELOPER Sep 04 '12, 11:30 a.m.Hello Ginny, that's just some sample code that I googled.. http://www.w3schools.com/images/pulpit.jpg