board icon indicating copy to clipboard operation
board copied to clipboard

Code markdown isn't preserved in card comments

Open daryl-o opened this issue 4 years ago • 1 comments

If you create a code block (like XML) in the comments section of a card, the preview looks fine but the < and > tags are converted to < and > when the comment is saved.

For example

```xml <foo> here is some XML code </foo> ```

daryl-o avatar Nov 24 '21 11:11 daryl-o

@daryl-o if the users added any script tag content like "" , we strip the tags to prevent the execution and if the user adds " here is some XML code " , it strips the tags

sridhar391 avatar Dec 07 '21 13:12 sridhar391