From b50d4159a6dd84c084b279b56b25dc23f9684543 Mon Sep 17 00:00:00 2001 From: bperraud Date: Sun, 1 Jan 2017 21:56:37 +0100 Subject: [PATCH] Update README.md --- hdoc_to_pdf/README.md | 1 + hdoc_to_pdf/css/main.css | 2 ++ 2 files changed, 3 insertions(+) diff --git a/hdoc_to_pdf/README.md b/hdoc_to_pdf/README.md index 61b06fb..49cbe83 100644 --- a/hdoc_to_pdf/README.md +++ b/hdoc_to_pdf/README.md @@ -66,6 +66,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. +* Inline elements like em cause bad paragraphs justification. Generic Todo ------------ diff --git a/hdoc_to_pdf/css/main.css b/hdoc_to_pdf/css/main.css index 9c8e261..aa1d7f0 100644 --- a/hdoc_to_pdf/css/main.css +++ b/hdoc_to_pdf/css/main.css @@ -56,6 +56,8 @@ body { p { text-align: justify; text-indent: 2em; + -webkit-hyphens: auto; + -ms-hyphens: auto; hyphens: auto; word-break: normal; } -- GitLab