aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-04 23:01:14 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-04 23:01:14 -0800
commit9601cc502644458c7ddf71394f8e4be74c464420 (patch)
tree4f43a44a8123eda9f955fd5464147b83fc8a9c0f
parent4c1f840c392010309cdb4cc1b8db4f4b24ff6424 (diff)
downloadpandoc-9601cc502644458c7ddf71394f8e4be74c464420.tar.gz
Added css to preserve space in <code> tags.
Thanks to Dirk Laurie.
-rw-r--r--default.dzslides1
-rw-r--r--default.html1
-rw-r--r--default.html51
-rw-r--r--default.s51
-rw-r--r--default.slideous1
-rw-r--r--default.slidy1
6 files changed, 6 insertions, 0 deletions
diff --git a/default.dzslides b/default.dzslides
index cab8ef848..d252db197 100644
--- a/default.dzslides
+++ b/default.dzslides
@@ -8,6 +8,7 @@ $if(date-meta)$
<meta name="dcterms.date" content="$date-meta$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
+ <style type="text/css">code{white-space: pre;}</style>
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
diff --git a/default.html b/default.html
index 6b9945e6e..8e23d9bb1 100644
--- a/default.html
+++ b/default.html
@@ -11,6 +11,7 @@ $if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
+ <style type="text/css">code{white-space: pre;}</style>
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
diff --git a/default.html5 b/default.html5
index beed93e50..8215bb977 100644
--- a/default.html5
+++ b/default.html5
@@ -10,6 +10,7 @@ $if(date-meta)$
<meta name="dcterms.date" content="$date-meta$">
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
+ <style type="text/css">code{white-space: pre;}</style>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
diff --git a/default.s5 b/default.s5
index 3f2977846..532c164cf 100644
--- a/default.s5
+++ b/default.s5
@@ -11,6 +11,7 @@ $if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</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/default.slideous b/default.slideous
index 43f12ae9d..db16a9693 100644
--- a/default.slideous
+++ b/default.slideous
@@ -13,6 +13,7 @@ $if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
+ <style type="text/css">code{white-space: pre;}</style>
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
diff --git a/default.slidy b/default.slidy
index bd7d2ce8d..e54e95510 100644
--- a/default.slidy
+++ b/default.slidy
@@ -13,6 +13,7 @@ $if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
+ <style type="text/css">code{white-space: pre;}</style>
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$