Browse Source

Fix some Markdown leaking into note titles

tags/v1.2.0
Skylar Ittner 1 year ago
parent
commit
cd476b3f6d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      www/js/Note.class.js

+ 1
- 1
www/js/Note.class.js View File

@@ -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, "");
}
}


Loading…
Cancel
Save