Skip to content

Commit a230482

Browse files
authored
Merge pull request #597 from hackmdio/fix-gist-tag-structure
Fix markdown-it gist plugin code closing tag Fix #596
2 parents 92b769f + 60b86e0 commit a230482

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/extra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ const gistPlugin = new Plugin(
10921092

10931093
(match, utils) => {
10941094
const gistid = match[1]
1095-
const code = `<code data-gist-id="${gistid}"/>`
1095+
const code = `<code data-gist-id="${gistid}"></code>`
10961096
return code
10971097
}
10981098
)

0 commit comments

Comments
 (0)