Posted by Niklas Heidloff | March 16, 2011
The project management application uses
rich text in most of the documents (e.g. project, release, discussion,
defect). In these rich text fields it needs to be possible to pass in HTML
code that is rendered as HTML so that you can embed YouTube videos, Slideshare
decks etc. At the same time however users need to be able to paste HTML
and XSP code that is rendered as text, for example when reporting defects.
So far HTML code was always rendered
as HTML which for example made it impossible to paste XSP code in defects.
We've changed this now. HTML code that needs to be interpreted as HTML
can be marked via '[' and ']'. HTML text without this convention is rendered
as text.
The blue question mark icons for rich
text fields bring up this description.
If you're interested in how this has
been implemented, check out the custom
converter.