RestyaPlatform / board

Trello like kanban board. Based on Restya platform.
http://restya.com/board/
Open Software License 3.0
2.03k stars 381 forks source link

Code markdown isn't preserved in card comments #4364

Open daryl-o opened 2 years ago

daryl-o commented 2 years ago

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> ```

sridhar391 commented 2 years ago

@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