Skip to content

Commit

Permalink
Update so square brackets are properly escaped (#51)
Browse files Browse the repository at this point in the history
* add failing test
* update so test passes
* fix code format
  • Loading branch information
kkartch0 authored Jul 13, 2024
1 parent 59f0100 commit 98e9242
Show file tree
Hide file tree
Showing 6 changed files with 479 additions and 2 deletions.
1 change: 1 addition & 0 deletions __mocks__/obsidian.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export function requestUrl(requestUrlParam: RequestUrlParam): Promise<RequestUrl
"https://www.churchofjesuschrist.org/study/scriptures/bofm/1-ne/5?lang=eng&id=p1-p2#p1": "1nephi5.1-2.html",
"https://www.churchofjesuschrist.org/study/scriptures/bofm/2-ne/10?lang=eng&id=24#p24": "2nephi10.24.html",
"https://www.churchofjesuschrist.org/study/scriptures/bofm/mosiah/14?lang=eng&id=p4-p5": "mosiah14.4-5.html",
"https://www.churchofjesuschrist.org/study/general-conference/2023/10/15christofferson?lang=eng&id=p4#p4": "theSealingPower.html"
};

const htmlFileName = urlToHtmlFileMap[requestUrlParam.url];
Expand Down
Loading

0 comments on commit 98e9242

Please sign in to comment.