mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix enex checkboxes for mac, closes #3511
This commit is contained in:
parent
decfeb366c
commit
4f4c3ef3f3
@ -76,8 +76,8 @@ function importEnex(taskContext, file, parentNote) {
|
|||||||
content = content.replace(/<\/ol>\s*<li>/g, "</ol></li><li>");
|
content = content.replace(/<\/ol>\s*<li>/g, "</ol></li><li>");
|
||||||
|
|
||||||
// Replace en-todo with unicode ballot box
|
// Replace en-todo with unicode ballot box
|
||||||
content = content.replace(/<en-todo\s+checked="true"\/>/g, "\u2611 ");
|
content = content.replace(/<en-todo\s+checked="true"\s*\/>/g, "\u2611 ");
|
||||||
content = content.replace(/<en-todo(\s+checked="false")?\/>/g, "\u2610 ");
|
content = content.replace(/<en-todo(\s+checked="false")?\s*\/>/g, "\u2610 ");
|
||||||
|
|
||||||
// Replace OneNote converted checkboxes with unicode ballot box based
|
// Replace OneNote converted checkboxes with unicode ballot box based
|
||||||
// on known hash of checkboxes for regular, p1, and p2 checkboxes
|
// on known hash of checkboxes for regular, p1, and p2 checkboxes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user