mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix importing image captions, closes #2113
(cherry picked from commit e050e380b9e44d2e282074d3ca7ca19b33761be4)
This commit is contained in:
parent
19a6d89d4f
commit
3448eba7b9
@ -8,7 +8,7 @@ function sanitize(dirtyHtml) {
|
|||||||
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
|
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
|
||||||
'li', 'b', 'i', 'strong', 'em', 'strike', 'abbr', 'code', 'hr', 'br', 'div',
|
'li', 'b', 'i', 'strong', 'em', 'strike', 'abbr', 'code', 'hr', 'br', 'div',
|
||||||
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'section', 'img',
|
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'section', 'img',
|
||||||
'figure', 'span', 'label', 'input'
|
'figure', 'figcaption', 'span', 'label', 'input'
|
||||||
],
|
],
|
||||||
allowedAttributes: {
|
allowedAttributes: {
|
||||||
'a': [ 'href', 'class', 'data-note-path' ],
|
'a': [ 'href', 'class', 'data-note-path' ],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user