diff --git a/components/Markdown.tsx b/components/Markdown.tsx index f7ca5ba..116fe83 100644 --- a/components/Markdown.tsx +++ b/components/Markdown.tsx @@ -13,7 +13,7 @@ const Markdown = ({ text }:MarkdownProps):JSX.Element => { 'em', 'i', 'kbd', 'mark', 'q', 'rb', 'rp', 'rt', 'rtc', 'ruby', 's', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'time', 'u', 'var', 'wbr', 'caption', 'col', 'colgroup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'del', - 'img', 'svg', 'input' + 'img', 'svg', 'path', 'input' ], allowedAttributes: false })} /> diff --git a/utils/ShowdownExtensions.ts b/utils/ShowdownExtensions.ts index 4541144..174f5c8 100644 --- a/utils/ShowdownExtensions.ts +++ b/utils/ShowdownExtensions.ts @@ -4,7 +4,11 @@ export const anchorHeader = { replace: function (__match, id:string, title:string, level:number) { // github anchor style - const octicon_html = `` + const octicon_html = `` return `${octicon_html}${title}` }