Fix markdown-it gist plugin code closing tag

fix #596
This commit is contained in:
Yukai Huang 2017-10-21 11:45:17 +08:00
parent 92b769fb26
commit 60b86e0250
1 changed files with 1 additions and 1 deletions

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