added jump to note functionality

This commit is contained in:
azivner
2017-09-03 21:34:30 -04:00
parent f063d12d07
commit a54207dc07
3 changed files with 56 additions and 16 deletions

View File

@@ -84,8 +84,6 @@ function html2notecase(contents, note) {
const linkMatch = /^<a[^>]+?href="([^"]+?)"[^>]*?>([^<]+?)<\/a>/.exec(curContent);
if (linkMatch !== null) {
console.log("matched link: ", linkMatch);
const targetUrl = linkMatch[1];
const linkText = linkMatch[2];