aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.s5
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-04-25 23:07:30 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-04-25 23:07:30 +0200
commit66b08391b38b0812112ff03d7610d4592c3a1017 (patch)
tree6855f95891085143e0aaa7c3272f8d0d41c49968 /data/templates/default.s5
parentee160d7c4cc912554fe0a1c7ff9fb802e9e72b64 (diff)
downloadpandoc-66b08391b38b0812112ff03d7610d4592c3a1017.tar.gz
HTML line block: Use class instead of style attribute.
We now issue `<div class="line-block">` and include a default definition for `line-block` in the default templates, instead of hard-coding a `style` on the div. Closes #1623.
Diffstat (limited to 'data/templates/default.s5')
-rw-r--r--data/templates/default.s51
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/default.s5 b/data/templates/default.s5
index c3896af84..e4fa970d3 100644
--- a/data/templates/default.s5
+++ b/data/templates/default.s5
@@ -18,6 +18,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
.smallcaps{font-variant: small-caps;}
+ .line-block{white-space: pre-line;}
$if(quotes)$
q { quotes: "“" "”" "‘" "’"; }
$endif$