diff --git a/CHANGELOG.md b/CHANGELOG.md index 536c1f9862..deeed68396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # QOwnNotes Changelog +## 17.02.6 +- the maximum tag nesting level of the html preview was increased from 16 to 32 + to allow more levels of list items than six + (for [Issue #473](https://github.com/pbek/QOwnNotes/issues/473)) + ## 17.02.5 - you can now show a custom action in the note text edit context menu - for more information please take a look at the diff --git a/src/build_number.h b/src/build_number.h index 66957e85f5..c6d78cd01e 100644 --- a/src/build_number.h +++ b/src/build_number.h @@ -1 +1 @@ -#define BUILD 313 +#define BUILD 314 diff --git a/src/entities/note.cpp b/src/entities/note.cpp index c92a14edfc..1d8d2604fe 100644 --- a/src/entities/note.cpp +++ b/src/entities/note.cpp @@ -1314,7 +1314,7 @@ bool Note::removeNoteFile() { QString Note::toMarkdownHtml(QString notesPath, int maxImageWidth, bool forExport, bool decrypt, bool base64Images) { hoedown_renderer *renderer = - hoedown_html_renderer_new(HOEDOWN_HTML_USE_XHTML, 16); + hoedown_html_renderer_new(HOEDOWN_HTML_USE_XHTML, 32); // we want to show quotes in the html, so we don't translate them into // `` tags @@ -1322,7 +1322,7 @@ QString Note::toMarkdownHtml(QString notesPath, int maxImageWidth, hoedown_extensions extensions = (hoedown_extensions) ((HOEDOWN_EXT_BLOCK | HOEDOWN_EXT_SPAN | HOEDOWN_EXT_MATH_EXPLICIT) & ~HOEDOWN_EXT_QUOTE); - hoedown_document *document = hoedown_document_new(renderer, extensions, 16); + hoedown_document *document = hoedown_document_new(renderer, extensions, 32); // get the decrypted note text (or the normal note text if there isn't any) QString str = decrypt ? getDecryptedNoteText() : noteText; diff --git a/src/version.h b/src/version.h index cc99189e79..8934137d17 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define VERSION "17.02.5" +#define VERSION "17.02.6"