From c38727e77ee3a5c4bfa2bb63cd37255bb886087a Mon Sep 17 00:00:00 2001 From: scharel Date: Wed, 26 Dec 2018 21:51:20 +0100 Subject: [PATCH] Improved workaround for #40 --- qml/pages/NotePage.qml | 4 ++-- rpm/harbour-nextcloudnotes.changes | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/qml/pages/NotePage.qml b/qml/pages/NotePage.qml index 9e2af1a..d3e582b 100644 --- a/qml/pages/NotePage.qml +++ b/qml/pages/NotePage.qml @@ -73,13 +73,13 @@ Dialog { return '
  • ' + (p1 ? p1 : "") + '☑ ' + p2 + '' + p3 } ) convertedText = convertedText.replace(//gmi, "
    ") - convertedText = convertedText.replace(/
    /gmi, "---") + convertedText = convertedText.replace(/(.*)<\/del>/gmi, function(match, p1) { return "" + p1 + "" }) + convertedText = convertedText.replace(/
    /gmi, "

    ") contentLabel.text = "\n" + convertedText if (debug) console.log(contentLabel.text) diff --git a/rpm/harbour-nextcloudnotes.changes b/rpm/harbour-nextcloudnotes.changes index ddc3861..40397f9 100644 --- a/rpm/harbour-nextcloudnotes.changes +++ b/rpm/harbour-nextcloudnotes.changes @@ -12,6 +12,9 @@ # * date Author's Name version-release # - Summary of changes +* Wed Dec 26 2018 Scharel Clemens 0.2-9 +- Improved workaround for #40 + * Mon Dec 17 2018 Scharel Clemens 0.2-8 - Some changes in the backgend - Fixed #39