Update util.ts

This commit is contained in:
sub-hub
2024-05-06 16:41:55 +09:00
committed by GitHub
parent 8f9f075cdb
commit e204eeb385

View File

@@ -569,7 +569,6 @@ export function applyMarkdownToNode(node: Node) {
const text = node.textContent; const text = node.textContent;
if (text) { if (text) {
let markdown = mconverted.parseInline(text); let markdown = mconverted.parseInline(text);
markdown = mconverted.parseInline(markdown)
if (markdown !== text) { if (markdown !== text) {
const span = document.createElement('span'); const span = document.createElement('span');
span.innerHTML = markdown; span.innerHTML = markdown;