diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-04-25 23:07:30 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-04-25 23:07:30 +0200 |
commit | 66b08391b38b0812112ff03d7610d4592c3a1017 (patch) | |
tree | 6855f95891085143e0aaa7c3272f8d0d41c49968 /test | |
parent | ee160d7c4cc912554fe0a1c7ff9fb802e9e72b64 (diff) | |
download | pandoc-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 'test')
-rw-r--r-- | test/lhs-test.html | 1 | ||||
-rw-r--r-- | test/lhs-test.html+lhs | 1 | ||||
-rw-r--r-- | test/s5-basic.html | 1 | ||||
-rw-r--r-- | test/s5-fancy.html | 1 | ||||
-rw-r--r-- | test/s5-inserts.html | 1 | ||||
-rw-r--r-- | test/writer.html4 | 1 | ||||
-rw-r--r-- | test/writer.html5 | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/test/lhs-test.html b/test/lhs-test.html index db90ae95e..ff14e3699 100644 --- a/test/lhs-test.html +++ b/test/lhs-test.html @@ -8,6 +8,7 @@ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .line-block{white-space: pre-line;} </style> <style type="text/css"> div.sourceCode { overflow-x: auto; } diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs index d13aa36e3..f0bfd0465 100644 --- a/test/lhs-test.html+lhs +++ b/test/lhs-test.html+lhs @@ -8,6 +8,7 @@ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .line-block{white-space: pre-line;} </style> <style type="text/css"> div.sourceCode { overflow-x: auto; } diff --git a/test/s5-basic.html b/test/s5-basic.html index 4757910b9..b559a9af6 100644 --- a/test/s5-basic.html +++ b/test/s5-basic.html @@ -13,6 +13,7 @@ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .line-block{white-space: pre-line;} </style> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> diff --git a/test/s5-fancy.html b/test/s5-fancy.html index f80d321fb..a24baa556 100644 --- a/test/s5-fancy.html +++ b/test/s5-fancy.html @@ -13,6 +13,7 @@ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .line-block{white-space: pre-line;} </style> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> diff --git a/test/s5-inserts.html b/test/s5-inserts.html index b84d2360e..97c8de384 100644 --- a/test/s5-inserts.html +++ b/test/s5-inserts.html @@ -11,6 +11,7 @@ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .line-block{white-space: pre-line;} </style> <link rel="stylesheet" href="main.css" type="text/css" /> STUFF INSERTED diff --git a/test/writer.html4 b/test/writer.html4 index ccd3af10c..bac16b14c 100644 --- a/test/writer.html4 +++ b/test/writer.html4 @@ -11,6 +11,7 @@ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .line-block{white-space: pre-line;} </style> </head> <body> diff --git a/test/writer.html5 b/test/writer.html5 index f44de80e2..ee921766c 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -11,6 +11,7 @@ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .line-block{white-space: pre-line;} </style> <!--[if lt IE 9]> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> |