From f78fd69bf47bc6ef1a8588d85a431425b6a07c53 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sun, 19 Mar 2023 20:45:54 +0100 Subject: [PATCH] fix: replace bootstrap icon html with utf-8 icon Signed-off-by: Tilman Vatteroth --- .../extensions/headline-anchors-markdown-extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/markdown-renderer/extensions/headline-anchors-markdown-extension.ts b/frontend/src/components/markdown-renderer/extensions/headline-anchors-markdown-extension.ts index 92e3fb588..707a35bb0 100644 --- a/frontend/src/components/markdown-renderer/extensions/headline-anchors-markdown-extension.ts +++ b/frontend/src/components/markdown-renderer/extensions/headline-anchors-markdown-extension.ts @@ -14,7 +14,7 @@ export class HeadlineAnchorsMarkdownExtension extends MarkdownRendererExtension public configureMarkdownIt(markdownIt: MarkdownIt): void { anchor(markdownIt, { permalink: anchor.permalink.ariaHidden({ - symbol: '', + symbol: '🔗', class: 'heading-anchor text-dark', renderHref: (slug: string): string => `#${slug}`, placement: 'before'