aboutsummaryrefslogtreecommitdiff
path: root/test/writer.html5
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-04 23:16:42 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-04 23:16:42 +0100
commit14b8aa8c93766f98a6e0bc9ff04f14962a888f4f (patch)
tree98515c489e303b4613520f4ff84963031d611f95 /test/writer.html5
parent0517cf0bc0db5e5b94c86f2dddc1fbc279632b2c (diff)
downloadpandoc-14b8aa8c93766f98a6e0bc9ff04f14962a888f4f.tar.gz
Regularized CSS in html/epub/html slide templates.
All templates now include `code{white-space: pre-wrap}` and CSS for `q` if `--html-q-tags` is used. Previously some templates had `pre` and others `pre-wrap`; the `q` styles were only sometimes included. See #3485.
Diffstat (limited to 'test/writer.html5')
-rw-r--r--test/writer.html55
1 files changed, 4 insertions, 1 deletions
diff --git a/test/writer.html5 b/test/writer.html5
index 46aa27ae3..068628a69 100644
--- a/test/writer.html5
+++ b/test/writer.html5
@@ -8,7 +8,10 @@
<meta name="author" content="Anonymous" />
<meta name="dcterms.date" content="2006-07-17" />
<title>Pandoc Test Suite</title>
- <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
+ <style type="text/css">
+ code{white-space: pre-wrap;}
+ .smallcaps{font-variant: small-caps;}
+ </style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->