summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-01-18 06:13:31 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-01-18 06:13:31 +0000
commit6e50667c01bac9b0e37e807d8ecadf7652778e1c (patch)
treebe5dd2d098367f1882caa889b08e8338c0a78f86
parent1c9c5d9e766478f71457be65647478637d37abb2 (diff)
downloadsqlalchemy-6e50667c01bac9b0e37e807d8ecadf7652778e1c.tar.gz
fix
-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 00e91c379..d4bada192 100644
--- a/doc/build/components/formatting.myt
+++ b/doc/build/components/formatting.myt
@@ -350,7 +350,11 @@ javascript:togglePopbox('<% name %>', '<% show %>', '<% hide %>')
</%method>
<%method codepopper trim="both">
- '''PYESC<&|SELF:popbox, class_="codepop" &><% m.content() %></&>PYESC'''
+ <%init>
+ c = m.content()
+ c = re.sub(r'\n', '<br/>\n', c.strip())
+ </%init>
+ '''PYESC<&|SELF:popbox, class_="codepop" &><% c %></&>PYESC'''
</%method>
<%method poppedcode trim="both">