summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorSheogorath2017-10-21 14:30:09 +0200
committerGitHub2017-10-21 14:30:09 +0200
commita23048254ddfb36a2c204c96db042fd0a6012b48 (patch)
treeb96e8139aa6bc9b0c5ee7bf02906c3c26c67b691 /public
parent92b769fb261d4a5e7d1717555b6af6c5765701a1 (diff)
parent60b86e0250d7ec640dcedd3445da83d6f730d61c (diff)
Merge pull request #597 from hackmdio/fix-gist-tag-structure
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
}
)