1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
This commit is contained in:
Baptiste Augrain
2018-09-15 10:43:41 +02:00
parent c8466e9fa6
commit bacbfc8615
6 changed files with 116 additions and 8 deletions

View File

@@ -79,10 +79,10 @@ function sanitizeInline (html, options) {
}
}
if (selfClosing.indexOf(tag)) {
return '<' + tag + attrs + ' />'
} else {
if (selfClosing.indexOf(tag) === -1) {
return '<' + tag + attrs + '>'
} else {
return '<' + tag + attrs + ' />'
}
} else {
// closing tag