Skip to content

Commit 9601cc5

Browse files
committed
Added css to preserve space in <code> tags.
Thanks to Dirk Laurie.
1 parent 4c1f840 commit 9601cc5

6 files changed

+6
-0
lines changed

default.dzslides

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $if(date-meta)$
88
<meta name="dcterms.date" content="$date-meta$" />
99
$endif$
1010
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
11+
<style type="text/css">code{white-space: pre;}</style>
1112
$if(highlighting-css)$
1213
<style type="text/css">
1314
$highlighting-css$

default.html

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<meta name="date" content="$date-meta$" />
1212
$endif$
1313
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
14+
<style type="text/css">code{white-space: pre;}</style>
1415
$if(highlighting-css)$
1516
<style type="text/css">
1617
$highlighting-css$

default.html5

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ $if(date-meta)$
1010
<meta name="dcterms.date" content="$date-meta$">
1111
$endif$
1212
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
13+
<style type="text/css">code{white-space: pre;}</style>
1314
<!--[if lt IE 9]>
1415
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
1516
<![endif]-->

default.s5

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ $if(date-meta)$
1111
<meta name="date" content="$date-meta$" />
1212
$endif$
1313
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
14+
<style type="text/css">code{white-space: pre;}</style>
1415
<!-- configuration parameters -->
1516
<meta name="defaultView" content="slideshow" />
1617
<meta name="controlVis" content="hidden" />

default.slideous

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $if(date-meta)$
1313
<meta name="date" content="$date-meta$" />
1414
$endif$
1515
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
16+
<style type="text/css">code{white-space: pre;}</style>
1617
$if(highlighting-css)$
1718
<style type="text/css">
1819
$highlighting-css$

default.slidy

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $if(date-meta)$
1313
<meta name="date" content="$date-meta$" />
1414
$endif$
1515
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
16+
<style type="text/css">code{white-space: pre;}</style>
1617
$if(highlighting-css)$
1718
<style type="text/css">
1819
$highlighting-css$

0 commit comments

Comments
 (0)