diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/renderer/html-renderer.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/renderer/html-renderer.service.ts b/client/src/app/shared/renderer/html-renderer.service.ts index 28ef51e72..94a8aa4c6 100644 --- a/client/src/app/shared/renderer/html-renderer.service.ts +++ b/client/src/app/shared/renderer/html-renderer.service.ts | |||
@@ -16,7 +16,7 @@ export class HtmlRendererService { | |||
16 | const html = this.linkifier.linkify(text) | 16 | const html = this.linkifier.linkify(text) |
17 | 17 | ||
18 | return sanitizeHtml(html, { | 18 | return sanitizeHtml(html, { |
19 | allowedTags: [ 'a', 'p', 'span', 'br' ], | 19 | allowedTags: [ 'a', 'p', 'span', 'br', 'strong', 'em', 'ul', 'ol', 'li' ], |
20 | allowedSchemes: [ 'http', 'https' ], | 20 | allowedSchemes: [ 'http', 'https' ], |
21 | allowedAttributes: { | 21 | allowedAttributes: { |
22 | 'a': [ 'href', 'class', 'target' ] | 22 | 'a': [ 'href', 'class', 'target' ] |