mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Fix rendering might result XSS attribute on self closing tag [Security Issue]
This commit is contained in:
parent
edb1b4aa0a
commit
f491cdabc1
4 changed files with 20 additions and 1 deletions
|
@ -10,6 +10,7 @@ require('highlight.js/styles/github-gist.css')
|
|||
import {
|
||||
autoLinkify,
|
||||
deduplicatedHeaderId,
|
||||
removeDOMEvents,
|
||||
finishView,
|
||||
generateToc,
|
||||
md,
|
||||
|
@ -57,6 +58,7 @@ if (md.meta.type && md.meta.type === 'slide') {
|
|||
}
|
||||
$(document.body).show()
|
||||
|
||||
removeDOMEvents(markdown)
|
||||
finishView(markdown)
|
||||
autoLinkify(markdown)
|
||||
deduplicatedHeaderId(markdown)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue