Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

pasting html into comment field

When I paste html into a work item comment using the rich client and save it, it looks fine (displays following html formating). When I do the same thing using the web browser, it looks fine until I save it, then it looks like html:

body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Segoe UI;font-size:9pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. */body { margin: 0 0 0 0; padding:0 0 0 0; overflow:hidden; }.transcript { background-color:#d2d2d2; }.messageBlock { padding-left:10px; padding-right:10px; margin-bottom:3px }.message { padding-left:20px; margin-left:95px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre; white-space:pre-wrap;}.messageCont { padding-left:20px; margin-left:95px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre;white-space:pre-wrap;}.other { font-size:11px;color:#39577a;vertical-align:top;font-weight:bold;
<SNIP>

We are using RTC 3.0.1 client/server and I reproduced in firefox 11. Another user reported it using firefox 3.6.28.

Is this a bug? Anyway to workaround it?

0 votes



One answer

Permanent link
This happens to me too ... when it does, I first paste the contents into a simple text editor (like Notepad on Windows), and then cut it from there. That loses all the rich text markup.

Cheers,
Geoff

When I paste html into a work item comment using the rich client and save it, it looks fine (displays following html formating). When I do the same thing using the web browser, it looks fine until I save it, then it looks like html:

body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Segoe UI;font-size:9pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. */body { margin: 0 0 0 0; padding:0 0 0 0; overflow:hidden; }.transcript { background-color:#d2d2d2; }.messageBlock { padding-left:10px; padding-right:10px; margin-bottom:3px }.message { padding-left:20px; margin-left:95px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre; white-space:pre-wrap;}.messageCont { padding-left:20px; margin-left:95px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre;white-space:pre-wrap;}.other { font-size:11px;color:#39577a;vertical-align:top;font-weight:bold;
<SNIP>

We are using RTC 3.0.1 client/server and I reproduced in firefox 11. Another user reported it using firefox 3.6.28.

Is this a bug? Anyway to workaround it?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 21 '12, 4:38 p.m.

Question was seen: 4,420 times

Last updated: Mar 21 '12, 4:38 p.m.

Confirmation Cancel Confirm