summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-01-18 06:56:23 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-01-18 06:56:23 +0000
commit4fc53bfa418417313471748325ee09a80ac8ca42 (patch)
tree6589a79af65a17a4e8e53292f36f2ea993872c1c /doc
parent22789f24b173dcbe2ee8b47e45d9a2698a38847f (diff)
downloadsqlalchemy-4fc53bfa418417313471748325ee09a80ac8ca42.tar.gz
more whitespace
Diffstat (limited to 'doc')
-rw-r--r--doc/build/components/formatting.myt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/build/components/formatting.myt b/doc/build/components/formatting.myt
index 3828e5da0..18ad347b2 100644
--- a/doc/build/components/formatting.myt
+++ b/doc/build/components/formatting.myt
@@ -361,5 +361,9 @@ javascript:togglePopbox('<% name %>', '<% show %>', '<% hide %>')
</%method>
<%method poppedcode trim="both">
- '''PYESC<div class="codepop" &><% m.content() %></div>PYESC'''
+ <%init>
+ c = m.content()
+ c = re.sub(r'\n', '<br/>\n', c.strip())
+ </%init>
+ </pre><div class="codepop"><% c %></div><pre>
</%method>