diff --git a/export-checkboxes/export-checkboxes.qml b/export-checkboxes/export-checkboxes.qml index 2cd9dfa..1ee8665 100644 --- a/export-checkboxes/export-checkboxes.qml +++ b/export-checkboxes/export-checkboxes.qml @@ -17,8 +17,7 @@ QtObject { function noteToMarkdownHtmlHook(note, html) { // see http://doc.qt.io/qt-5/richtext-html-subset.html for a list of // supported css styles - html = html.replace(/
  • (\s*)(

    )*(\s*)\[x\]/g, "

  • $1$2$3☑"); - html = html.replace(/
  • (\s*)(

    )*(\s*)\[X\]/g, "

  • $1$2$3☑"); + html = html.replace(/
  • (\s*)(

    )*(\s*)\[[xX]\]/g, "

  • $1$2$3☑"); html = html.replace(/
  • (\s*)(

    )*(\s*)\[ \]/g, "

  • $1$2$3☐"); return html; }