summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-html/test/fixtures
diff options
context:
space:
mode:
authorSoreine <soreine.plume@gmail.com>2016-06-06 11:50:06 +0200
committerSamy Pessé <samypesse@gmail.com>2016-12-22 12:32:18 +0100
commit22b22dea1ca61285d5228f95a4fc008709e38d7d (patch)
treebe3539b3e0ab6db4adbf77df4170800b3e764b92 /packages/gitbook-html/test/fixtures
parent67424a9091663e19c9ddbd23fc0cc1619c23c843 (diff)
downloadgitbook-22b22dea1ca61285d5228f95a4fc008709e38d7d.zip
gitbook-22b22dea1ca61285d5228f95a4fc008709e38d7d.tar.gz
gitbook-22b22dea1ca61285d5228f95a4fc008709e38d7d.tar.bz2
Parsing empty parts
Diffstat (limited to 'packages/gitbook-html/test/fixtures')
-rw-r--r--packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html b/packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html
new file mode 100644
index 0000000..03579a1
--- /dev/null
+++ b/packages/gitbook-html/test/fixtures/SUMMARY-EMPTY.html
@@ -0,0 +1,21 @@
+<h1>Summary</h1>
+
+<h2>Part 1</h2>
+
+<ul>
+ <li><a href="chapter-1/README.md">Chapter 1</a></li>
+ <li><a href="chapter-2/README.md">Chapter 2</a></li>
+ <li><a href="chapter-3/README.md">Chapter 3</a></li>
+</ul>
+
+<ul>
+ <li><a href="chapter-1/README.md">Chapter for untitled part</a></li>
+</ul>
+
+<h2>Empty part</h2>
+
+<h2>Part 2</h2>
+
+<ul>
+ <li><a href="chapter-1/README.md">Chapter for Part 2</a></li>
+</ul>