aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/core-utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-02 14:14:30 +0200
committerChocobozzz <me@florianbigard.com>2022-05-02 14:14:30 +0200
commit42efd780a2db0925b6befd308bd8fc6590117546 (patch)
tree270fe42daa5d5250c3417f33fcdb28e36b0abea2 /shared/core-utils
parentdd29842306142a11a5f551a17b9a856d76e467e4 (diff)
downloadPeerTube-42efd780a2db0925b6befd308bd8fc6590117546.tar.gz
PeerTube-42efd780a2db0925b6befd308bd8fc6590117546.tar.zst
PeerTube-42efd780a2db0925b6befd308bd8fc6590117546.zip
Support HTML entities in markdown fields
Diffstat (limited to 'shared/core-utils')
-rw-r--r--shared/core-utils/renderer/markdown.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/core-utils/renderer/markdown.ts b/shared/core-utils/renderer/markdown.ts
index dff746d87..ddf608d7b 100644
--- a/shared/core-utils/renderer/markdown.ts
+++ b/shared/core-utils/renderer/markdown.ts
@@ -4,6 +4,7 @@ export const TEXT_RULES = [
4 'emphasis', 4 'emphasis',
5 'link', 5 'link',
6 'newline', 6 'newline',
7 'entity',
7 'list' 8 'list'
8] 9]
9 10