diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-12-26 08:38:19 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-12-26 08:40:33 -0800 |
commit | 718b2c5837f4a72a6ba58bc5c307431316e7d4dc (patch) | |
tree | 051e654ca1f7b50d853a5ccee18538e28643c004 /data | |
parent | 9dea8a27e200fe620a36e20f6bbf64c7f1bdad94 (diff) | |
download | pandoc-718b2c5837f4a72a6ba58bc5c307431316e7d4dc.tar.gz |
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.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.dzslides | 1 | ||||
-rw-r--r-- | data/templates/default.epub2 | 1 | ||||
-rw-r--r-- | data/templates/default.epub3 | 1 | ||||
-rw-r--r-- | data/templates/default.html4 | 1 | ||||
-rw-r--r-- | data/templates/default.html5 | 1 | ||||
-rw-r--r-- | data/templates/default.revealjs | 1 | ||||
-rw-r--r-- | data/templates/default.s5 | 1 | ||||
-rw-r--r-- | data/templates/default.slideous | 1 | ||||
-rw-r--r-- | data/templates/default.slidy | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides index 73ef045f1..892a434cb 100644 --- a/data/templates/default.dzslides +++ b/data/templates/default.dzslides @@ -16,7 +16,6 @@ $endif$ 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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.epub2 b/data/templates/default.epub2 index 2abead3d0..cca9fcf6f 100644 --- a/data/templates/default.epub2 +++ b/data/templates/default.epub2 @@ -10,7 +10,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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.epub3 b/data/templates/default.epub3 index ffe230507..b22714963 100644 --- a/data/templates/default.epub3 +++ b/data/templates/default.epub3 @@ -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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.html4 b/data/templates/default.html4 index a771599f7..714b3ff2e 100644 --- a/data/templates/default.html4 +++ b/data/templates/default.html4 @@ -18,7 +18,6 @@ $endif$ 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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.html5 b/data/templates/default.html5 index 2272a0179..5c484f376 100644 --- a/data/templates/default.html5 +++ b/data/templates/default.html5 @@ -18,7 +18,6 @@ $endif$ 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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index 9e3bc8d09..65ab09049 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -21,7 +21,6 @@ $endif$ 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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.s5 b/data/templates/default.s5 index 33e539744..e9c36b4d4 100644 --- a/data/templates/default.s5 +++ b/data/templates/default.s5 @@ -19,7 +19,6 @@ $endif$ 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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.slideous b/data/templates/default.slideous index 4c5e6a7bd..ad58272ae 100644 --- a/data/templates/default.slideous +++ b/data/templates/default.slideous @@ -20,7 +20,6 @@ $endif$ 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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } diff --git a/data/templates/default.slidy b/data/templates/default.slidy index 5bc237c91..98b8d669d 100644 --- a/data/templates/default.slidy +++ b/data/templates/default.slidy @@ -20,7 +20,6 @@ $endif$ 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%;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } |