-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Newer cheerio by default wraps the content in `<html><head>...<body>` tags which we don't want. Fix the logic & test fixtures.
- Loading branch information
Showing
4 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<script>{"title":"Markdown","customFields":[{"key":"source_path","value":"fixture/pages/Mark.md"}]}</script> | ||
<html><head></head><body><p><strong>Conubia linguae</strong> hydrae novissima recepto certe, clarus quod amictus tum ignota fluctibus <em>et quod</em>, est verba capitum, variusque. Sui saevam gentes propiora Cycladas, Hecate stamina nurus ramum!</p> | ||
<p><strong>Conubia linguae</strong> hydrae novissima recepto certe, clarus quod amictus tum ignota fluctibus <em>et quod</em>, est verba capitum, variusque. Sui saevam gentes propiora Cycladas, Hecate stamina nurus ramum!</p> | ||
<h2 class="toc-linked" id="oculi-miserarum"><a href="#oculi-miserarum" class="icon-link toc-link"><span class="visuallyhidden">link</span></a> Oculi miserarum</h2><p>Lorem <a href="https://en.wikipedia.org/wiki/Markdown">markdownum</a> silentia umerique, colla. Per felix innoxia pariterque capillos accessit, nec ad tempore in nubes detrahitur.</p> | ||
<p>Aures precantibus supplice Medusaeo, Lycormas est esse aestuat aut Pterelas.</p> | ||
<h2 class="toc-linked" id="domitos-interea"><a href="#domitos-interea" class="icon-link toc-link"><span class="visuallyhidden">link</span></a> Domitos interea</h2><ol> | ||
<li>Non torsi numine amor</li> | ||
<li>Tamen vino hinc indignatus aquas iunguntur sacrifica</li> | ||
<li>Solitum bacae tellure ille</li> | ||
</ol> | ||
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters