diff options
author | Arun Isaac | 2023-04-15 13:54:53 +0100 |
---|---|---|
committer | Arun Isaac | 2023-04-15 13:54:53 +0100 |
commit | 254c966d8c809b57e420fdee29876e0439a29a53 (patch) | |
tree | 2bec9c4d2d9f84af30e0701d33257de479143417 /tests | |
parent | ec825e7abc430c2389f9af46cccdfc2be585a90a (diff) | |
download | tissue-254c966d8c809b57e420fdee29876e0439a29a53.tar.gz tissue-254c966d8c809b57e420fdee29876e0439a29a53.tar.lz tissue-254c966d8c809b57e420fdee29876e0439a29a53.zip |
issue: Ignore preformatted blocks.
* tissue/issue.scm (file-details): Ignore preformatted blocks.
* tests/issue.scm ("Ignore preformatted block"): New test.
* issues/ignore-preformatted-blocks-in-gemtext-parser.gmi: Close
issue.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/issue.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/issue.scm b/tests/issue.scm index 53d908f..97541a0 100644 --- a/tests/issue.scm +++ b/tests/issue.scm @@ -98,4 +98,11 @@ strings." (call-with-input-string "* [] foo" (compose hashtable->alist file-details))) +(test-equal "Ignore preformatted block" + '() + (call-with-input-string "``` +# foo +```" + (compose hashtable->alist file-details))) + (test-end "issue") |