Permalink
Browse files

Added css to preserve space in <code> tags.

Thanks to Dirk Laurie.
  • Loading branch information...
1 parent 4c1f840 commit 9601cc502644458c7ddf71394f8e4be74c464420 John MacFarlane committed Jan 5, 2013
Showing with 6 additions and 0 deletions.
  1. +1 −0 default.dzslides
  2. +1 −0 default.html
  3. +1 −0 default.html5
  4. +1 −0 default.s5
  5. +1 −0 default.slideous
  6. +1 −0 default.slidy
View
@@ -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$
View
@@ -11,6 +11,7 @@
<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$
View
@@ -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]-->
View
@@ -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" />
View
@@ -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$
View
@@ -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$

0 comments on commit 9601cc5

Please sign in to comment.