projects
/
wix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d6cca41
)
use nowrap on pre-blocks
author
adam
<adam@megacz.com>
Wed, 28 Jan 2009 22:05:07 +0000
(14:05 -0800)
committer
adam
<adam@megacz.com>
Wed, 28 Jan 2009 22:05:07 +0000
(14:05 -0800)
darcs-hash:
20090128220507
-5007d-
5325067c2f8bd840f8256284a074b34f0de23bf3
.gz
src/Html.lhs
patch
|
blob
|
history
diff --git
a/src/Html.lhs
b/src/Html.lhs
index
7a61bd4
..
5784cb5
100644
(file)
--- a/
src/Html.lhs
+++ b/
src/Html.lhs
@@
-313,7
+313,7
@@
htmlEscapeChar '\'' = "'"
htmlEscapeChar '\"' = """
htmlEscapeChar c = [c]
-pre x = "\n<div class=pre>"++ (pre' x) ++ "\n</div>\n"
+pre x = "\n<div class=pre style='white-space:nowrap'>"++ (pre' x) ++ "\n</div>\n"
where
pre' (' ':b) = " "++(pre' b)
pre' ('\n':b) = "<br/>\n"++(pre' b)