This commit is contained in:
azivner
2017-11-26 21:00:42 -05:00
parent 9fcafe44d5
commit b4e6245f7b
2 changed files with 6 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ const noteEditor = (function() {
note.detail.note_text = contents;
if (!note.detail.is_protected) {
const linkRegexp = /<a[^>]+?href="[^"]*app#([A-Za-z0-9]{22})"[^>]*?>[^<]+?<\/a>/g;
const linkRegexp = /<a[^>]+?href="[^"]*app#([A-Za-z0-9/]+)"[^>]*?>[^<]+?<\/a>/g;
let match;
while (match = linkRegexp.exec(contents)) {