Browse Source

Merge pull request #4457 from helioguardabaxo/master

Added HTML tags escape to description on minicard.
Lauri Ojansivu 3 years ago
parent
commit
66b733a11e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client/components/cards/minicard.jade

+ 2 - 1
client/components/cards/minicard.jade

@@ -148,7 +148,8 @@ template(name="minicard")
     if currentBoard.allowsDescriptionTextOnMinicard
       if getDescription
         .minicard-description
-          | {{ getDescription }}
+          +viewer
+            | {{ getDescription }}
 
 template(name="editCardSortOrderPopup")
   input.js-edit-card-sort-popup(type='text' autofocus value=sort dir="auto")