mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix importing image captions, closes #2113
(cherry picked from commit e050e380b9)
			
			
This commit is contained in:
		| @@ -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' ], | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user