diff --git a/hdoc_to_pdf/README.md b/hdoc_to_pdf/README.md index 09a65138ac5b827737c771b1fae7c075084abc65..61b06fbd1a22b4de8e6fa4e55b3da5c57a10d4d1 100644 --- a/hdoc_to_pdf/README.md +++ b/hdoc_to_pdf/README.md @@ -65,6 +65,7 @@ Known bugs * Nested ul in ol are sometimes converted to ol. * It seems that FS doesn't support the max-width for img tags, which makes proper scaling harder. +* ToC lines rendering is sometimes ugly if the title label is too long. Generic Todo ------------ diff --git a/hdoc_to_pdf/css/main.css b/hdoc_to_pdf/css/main.css index eace0b5cef5e580046329d45265595a50dca41db..d311e96899cd88f6a6db674b370ac6bfde242d54 100644 --- a/hdoc_to_pdf/css/main.css +++ b/hdoc_to_pdf/css/main.css @@ -127,8 +127,9 @@ ul.toc.level5 > li {padding-left: 15mm;} ul.toc.level6 > li {padding-left: 17mm;} ul.toc > li > a::after { - /*left: 0;*/ content: leader(dotted) target-counter(attr(href), page); + text-decoration: none; + color: black; } /* Main Title formatting */ diff --git a/hdoc_to_pdf/xsl/hdoc_flattenizer.xsl b/hdoc_to_pdf/xsl/hdoc_flattenizer.xsl index fd9abe94814fac9b84adae923f1853728ea53732..6d30f7a36165dd4004e21c1893a9bfdaf3f97e5b 100644 --- a/hdoc_to_pdf/xsl/hdoc_flattenizer.xsl +++ b/hdoc_to_pdf/xsl/hdoc_flattenizer.xsl @@ -16,7 +16,7 @@ - +