From 718b2c5837f4a72a6ba58bc5c307431316e7d4dc Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 26 Dec 2017 08:38:19 -0800 Subject: HTML writer: Use br elements in line blocks... instead of relying on CSS. Closes #4162. HTML-based templates have had the custom CSS for div.line-block removed. Those maintaining custom templates will want to remove this too. We still enclose line blocks in a div with class line-block. --- test/lhs-test.html | 1 - test/lhs-test.html+lhs | 1 - test/s5-basic.html | 1 - test/s5-fancy.html | 1 - test/s5-inserts.html | 1 - test/writer.html4 | 1 - test/writer.html5 | 1 - 7 files changed, 7 deletions(-) (limited to 'test') diff --git a/test/lhs-test.html b/test/lhs-test.html index 77f75f354..c9777ea7b 100644 --- a/test/lhs-test.html +++ b/test/lhs-test.html @@ -9,7 +9,6 @@ code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} - div.line-block{white-space: pre-line;} div.column{display: inline-block; vertical-align: top; width: 50%;} diff --git a/test/s5-fancy.html b/test/s5-fancy.html index 1befe4052..9f724af96 100644 --- a/test/s5-fancy.html +++ b/test/s5-fancy.html @@ -14,7 +14,6 @@ code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} - div.line-block{white-space: pre-line;} div.column{display: inline-block; vertical-align: top; width: 50%;} diff --git a/test/s5-inserts.html b/test/s5-inserts.html index 6779e5b76..efde179d2 100644 --- a/test/s5-inserts.html +++ b/test/s5-inserts.html @@ -12,7 +12,6 @@ code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} - div.line-block{white-space: pre-line;} div.column{display: inline-block; vertical-align: top; width: 50%;} diff --git a/test/writer.html4 b/test/writer.html4 index ef6d8df74..dc889f07a 100644 --- a/test/writer.html4 +++ b/test/writer.html4 @@ -12,7 +12,6 @@ code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} - div.line-block{white-space: pre-line;} div.column{display: inline-block; vertical-align: top; width: 50%;} diff --git a/test/writer.html5 b/test/writer.html5 index a2052e9ea..53fcb84e2 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -12,7 +12,6 @@ code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} - div.line-block{white-space: pre-line;} div.column{display: inline-block; vertical-align: top; width: 50%;}