mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 06:19:34 +08:00
fix(import/single): title appearing as text
This commit is contained in:
parent
cef464f88b
commit
83cd72fa86
1 changed files with 4 additions and 1 deletions
|
|
@ -43,7 +43,10 @@ function sanitize(dirtyHtml: string) {
|
||||||
'mumble', 'nfs', 'onenote', 'pop', 'rmi', 's3', 'sftp', 'skype', 'sms', 'spotify', 'steam', 'svn', 'udp',
|
'mumble', 'nfs', 'onenote', 'pop', 'rmi', 's3', 'sftp', 'skype', 'sms', 'spotify', 'steam', 'svn', 'udp',
|
||||||
'view-source', 'vnc', 'ws', 'wss', 'xmpp', 'jdbc', 'slack'
|
'view-source', 'vnc', 'ws', 'wss', 'xmpp', 'jdbc', 'slack'
|
||||||
],
|
],
|
||||||
transformTags,
|
nonTextTags: [
|
||||||
|
'head'
|
||||||
|
],
|
||||||
|
transformTags
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue