3

1

Would it be possible to send just plain-text in <s> element of event and include html-version in e.g. <sHtml> or similar? Using html format in existing <s> element breaks existing clients, which are often not prepared to handle HTML content.

(Related to rich text editing functionality in FogBugz 8.3.42)

Fog Creek Case FC2012858

flag

1 Answer

1

That's a bug! Thanks for reporting it.

We've updated the XML API to only return the plain text version of bug events via the s node. For non-email events, there is now an additional sHtml node that contains the safe HTML version of the bug event's comment.

So, for plain text events sHtml is the HTML-encoded version of the comment (with newlines converted into <br /> tags, etc). For rich text events, sHtml is the sanitized HTML version of the comment.

This fix will go out along with the next version of FogBugz.

link|flag
Yay! Thank you! – Peter Štibraný Feb 7 2011 at 16:20

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.