Dobes
1
Hi,
When adding comments using rich text, if the html markup contains
tags, it renders as html code instead of being processed as rich text. For example:
<body><p><a href="https://github.com/test/app/pull/1234#issuecomment-123123123">comment</a> created</p></body>
renders the html source code (with tags etc.) unprocessed, whereas:
<body><a href="https://github.com/test/app/pull/1234#issuecomment-123123123">comment</a> created</body>
renders as a link and a piece of text.
Kind of a strange glitch …
The workaround, obviously, is to strip all these tags before submitting. But it would be great if they were handled correctly by Asana.
Dobes
2
I think there might be a similar issue with some other tags, like
, etc… Is there a list of tags supported by the richtext API?
Dobes
3
I meant to say it isn’t processing <br/>
. I think maybe it is not processing HTML entities, e.g. "
lpb
4
@Dobes, Have you seen this:
I think <p>
and <br>
are not supported, and perhaps not HTML entities either since they’re not explicitly listed as supported.
Hope that helps,
Larry
Dobes
5
Hi, I see, thanks.
I’ll try to stick to that. Hopefully you can at least add support for HTML entities in the future so that special characters can be correctly escaped.