Merge pull request #597 from hackmdio/fix-gist-tag-structure

Fix markdown-it gist plugin code closing tag

Fix #596
This commit is contained in:
Sheogorath 2017-10-21 14:30:09 +02:00 committed by GitHub
commit a23048254d

View file

@ -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
}
)