Fix some Markdown leaking into note titles

master
Skylar Ittner hace 5 años
padre 41865a9a72
commit cd476b3f6d

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

Cargando…
Cancelar
Guardar