summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorYukai Huang2017-10-21 11:45:17 +0800
committerYukai Huang2017-10-21 11:45:17 +0800
commit60b86e0250d7ec640dcedd3445da83d6f730d61c (patch)
treeb96e8139aa6bc9b0c5ee7bf02906c3c26c67b691 /public
parent92b769fb261d4a5e7d1717555b6af6c5765701a1 (diff)
Fix markdown-it gist plugin code closing tag
fix #596
Diffstat (limited to 'public')
-rw-r--r--public/js/extra.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index a1a9dbb6..d36592d9 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -1092,7 +1092,7 @@ const gistPlugin = new Plugin(
(match, utils) => {
const gistid = match[1]
- const code = `<code data-gist-id="${gistid}"/>`
+ const code = `<code data-gist-id="${gistid}"></code>`
return code
}
)