Skip to content

Commit 60b86e0

Browse files
committed
Fix markdown-it gist plugin code closing tag
fix #596
1 parent 92b769f commit 60b86e0

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)