summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-html/test/fixtures
diff options
context:
space:
mode:
authorSoreine <soreine.plume@gmail.com>2016-06-10 15:57:15 +0200
committerSamy Pessé <samypesse@gmail.com>2016-12-22 12:32:21 +0100
commit1c663121313b7597e2f1fd403d6e4e9e56153acd (patch)
treea0ea661a8d2b674dc5caa7b1e5b88394272d37e8 /packages/gitbook-html/test/fixtures
parent22ea09d9a6e6a56eefd508015b475d84999b01de (diff)
downloadgitbook-1c663121313b7597e2f1fd403d6e4e9e56153acd.zip
gitbook-1c663121313b7597e2f1fd403d6e4e9e56153acd.tar.gz
gitbook-1c663121313b7597e2f1fd403d6e4e9e56153acd.tar.bz2
Fix last empty part not parsed
Diffstat (limited to 'packages/gitbook-html/test/fixtures')
-rw-r--r--packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html b/packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html
index 03579a1..9d4397b 100644
--- a/packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html
+++ b/packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html
@@ -1,5 +1,7 @@
<h1>Summary</h1>
+<h2>First empty part</h2>
+
<h2>Part 1</h2>
<ul>
@@ -8,6 +10,8 @@
<li><a href="chapter-3/README.md">Chapter 3</a></li>
</ul>
+<!-- Untitled part here -->
+
<ul>
<li><a href="chapter-1/README.md">Chapter for untitled part</a></li>
</ul>
@@ -19,3 +23,7 @@
<ul>
<li><a href="chapter-1/README.md">Chapter for Part 2</a></li>
</ul>
+
+<h2>Penultimate empty part</h2>
+
+<h2>Last empty part</h2>