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?
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?
One answer
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
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?