fix bulk test

This commit is contained in:
tristan 2024-01-02 13:16:23 +00:00
parent dc33fdf093
commit 3f16ae203a
2 changed files with 10 additions and 2 deletions

View file

@ -113,7 +113,7 @@ in
})
(it "converts markdown to a page" {
actual = toString (mdToPage ./blog/index.md) + "\n";
actual = toString (mdToPage ./blog/index.md) + "\n\n"; # inflation
expected = builtins.readFile ./out/index.html;
asString = true;
})

View file

@ -1 +1,9 @@
<html lang="en"><head ><title >markdown file</title></head> <body ><h1 >yeee</h1> <p >I need some <em >emphasis</em>...</p> <p >that's <strong >bold</strong>!</p> <p ><mark >mark</mark> the important parts.</p> <p >but <del >forget the rest</del>.</p> <p >drink lot's of H <sub >2</sub>O <sup >if you want</sup>!</p> <p ><a href="https://www.markdownguide.org/basic-syntax/">https://www.markdownguide.org/basic-syntax/</a></p> <p ></p></body></html>
<html lang="en"><head ><title >markdown file</title></head> <body ><p ><h1 >yeee</h1>
</p><p >I need some <em >emphasis</em>...
</p><p >that's <strong >bold</strong>!
</p><p ><mark >mark</mark> the important parts.
</p><p >but <del >forget the rest</del>.
</p><p >drink lot's of H <sub >2</sub>O <sup >if you want</sup>!
</p><p ><a href="https://www.markdownguide.org/basic-syntax/">https://www.markdownguide.org/basic-syntax/</a>
</p></body></html>