diff --git a/export-checkboxes/export-checkboxes.qml b/export-checkboxes/export-checkboxes.qml index ca7879d..2cd9dfa 100644 --- a/export-checkboxes/export-checkboxes.qml +++ b/export-checkboxes/export-checkboxes.qml @@ -18,7 +18,8 @@ QtObject { // 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*)\[ \]/g, "

  • $1$2$3☐"); return html; } -} \ No newline at end of file +} diff --git a/export-checkboxes/info.json b/export-checkboxes/info.json index 212df76..536e270 100644 --- a/export-checkboxes/info.json +++ b/export-checkboxes/info.json @@ -2,8 +2,8 @@ "name": "Checkbox preview and export", "identifier": "export-checkboxes", "script": "export-checkboxes.qml", - "version": "0.0.1", + "version": "0.0.2", "minAppVersion": "17.12.0", - "authors": ["@m-wim"], - "description" : "This script changes the html output of the preview and export. If a list item starts with a checkbox-mark like
    - [x]
    and
    - [ ]
    the list-bullet and mark are replaced with a single UTF-8 character ☑ and ☐ for checked/unchecked states." + "authors": ["@m-wim", "@visika"], + "description" : "This script changes the html output of the preview and export. If a list item starts with a checkbox-mark like
    - [x]
    ,
    - [X]
    and
    - [ ]
    the list-bullet and mark are replaced with a single UTF-8 character ☑ and ☐ for checked/unchecked states." }