diff --git a/build.py b/build.py
index 19cf37b9..dea075bc 100755
--- a/build.py
+++ b/build.py
@@ -353,7 +353,7 @@ def BuildList(lst, fs, pagePos, cList):
#
def BuildOnePageSidebar(fs):
- content = '\n\n
\n'
+ content = '\n\n\n'
lvl = 0
levelNums = [0]*3
@@ -377,7 +377,7 @@ def BuildOnePageSidebar(fs):
anchor = fs[i]['filename']
while lvl < level:
- content = content + '\n'
+ content = content + '\n'
lvl = lvl + 1
while lvl > level:
content = content + '
\n'
diff --git a/source/css/pdf.css b/source/css/pdf.css
index 927b3865..5756d562 100644
--- a/source/css/pdf.css
+++ b/source/css/pdf.css
@@ -146,6 +146,7 @@ td, th {
}
ul.toc {
+ white-space: nowrap;
list-style: none;
margin: 0;
padding: 0;