diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-04 23:01:54 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-04 23:02:22 -0800 |
commit | 0f9e2c2320f5df2287b5cd37a4a8fab148af47a9 (patch) | |
tree | 33f593658eb6999b82ef0942a94435135393b095 | |
parent | f4111ac827454c7fe24e0dd29e503beef5638148 (diff) | |
download | pandoc-0f9e2c2320f5df2287b5cd37a4a8fab148af47a9.tar.gz |
Added css to preserve spaces in <code> tags.
Thanks to Dirk Laurie.
m--------- | data/templates | 12 | ||||
-rw-r--r-- | tests/lhs-test.html | 1 | ||||
-rw-r--r-- | tests/lhs-test.html+lhs | 1 | ||||
-rw-r--r-- | tests/s5.basic.html | 1 | ||||
-rw-r--r-- | tests/s5.fancy.html | 1 | ||||
-rw-r--r-- | tests/s5.inserts.html | 1 | ||||
-rw-r--r-- | tests/writer.html | 1 |
7 files changed, 13 insertions, 5 deletions
diff --git a/data/templates b/data/templates -Subproject 4c1f840c392010309cdb4cc1b8db4f4b24ff642 +Subproject 9601cc502644458c7ddf71394f8e4be74c46442 diff --git a/tests/lhs-test.html b/tests/lhs-test.html index d2b393022..4a7535d31 100644 --- a/tests/lhs-test.html +++ b/tests/lhs-test.html @@ -5,6 +5,7 @@ <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <title></title> + <style type="text/css">code{white-space: pre;}</style> <style type="text/css"> table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode { margin: 0; padding: 0; vertical-align: baseline; border: none; } diff --git a/tests/lhs-test.html+lhs b/tests/lhs-test.html+lhs index b5cd5cff3..079741f9d 100644 --- a/tests/lhs-test.html+lhs +++ b/tests/lhs-test.html+lhs @@ -5,6 +5,7 @@ <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <title></title> + <style type="text/css">code{white-space: pre;}</style> <style type="text/css"> table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode { margin: 0; padding: 0; vertical-align: baseline; border: none; } diff --git a/tests/s5.basic.html b/tests/s5.basic.html index 6194c27a9..f4e93eb6d 100644 --- a/tests/s5.basic.html +++ b/tests/s5.basic.html @@ -8,6 +8,7 @@ <meta name="author" content="Jen Jones" /> <meta name="date" content="2006-07-15" /> <title>My S5 Document</title> + <style type="text/css">code{white-space: pre;}</style> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> diff --git a/tests/s5.fancy.html b/tests/s5.fancy.html index 119306143..c62fcb3db 100644 --- a/tests/s5.fancy.html +++ b/tests/s5.fancy.html @@ -8,6 +8,7 @@ <meta name="author" content="Jen Jones" /> <meta name="date" content="2006-07-15" /> <title>My S5 Document</title> + <style type="text/css">code{white-space: pre;}</style> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> diff --git a/tests/s5.inserts.html b/tests/s5.inserts.html index 524c5b0ce..455225f9b 100644 --- a/tests/s5.inserts.html +++ b/tests/s5.inserts.html @@ -8,6 +8,7 @@ <meta name="author" content="Jen Jones" /> <meta name="date" content="2006-07-15" /> <title>My S5 Document</title> + <style type="text/css">code{white-space: pre;}</style> <link rel="stylesheet" href="main.css" type="text/css" /> STUFF INSERTED </head> diff --git a/tests/writer.html b/tests/writer.html index 67bb57ead..045e0dbff 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -8,6 +8,7 @@ <meta name="author" content="Anonymous" /> <meta name="date" content="2006-07-17" /> <title>Pandoc Test Suite</title> + <style type="text/css">code{white-space: pre;}</style> </head> <body> <div id="header"> |