mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
book handling of protected notes
This commit is contained in:
@@ -202,7 +202,7 @@ function closeActiveDialog() {
|
||||
}
|
||||
|
||||
function isHtmlEmpty(html) {
|
||||
return $(html).text().trim().length === 0 && !html.toLowerCase().includes('<img');
|
||||
return $("<div>").html(html).text().trim().length === 0 && !html.toLowerCase().includes('<img');
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user