diff --git a/www/js/Note.class.js b/www/js/Note.class.js index 55f929f..555ce6b 100644 --- a/www/js/Note.class.js +++ b/www/js/Note.class.js @@ -220,7 +220,7 @@ class Note { title = "New note"; } else { title = this.content.split('\n')[0]; - title = title.replace(/[\*#_`]/, ""); + title = title.replace(/[\*#_`]+/, ""); title = title.replace(/^- \[[x ]\] /i, ""); } }