diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-01-18 06:13:31 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-01-18 06:13:31 +0000 |
| commit | 6e50667c01bac9b0e37e807d8ecadf7652778e1c (patch) | |
| tree | be5dd2d098367f1882caa889b08e8338c0a78f86 /doc | |
| parent | 1c9c5d9e766478f71457be65647478637d37abb2 (diff) | |
| download | sqlalchemy-6e50667c01bac9b0e37e807d8ecadf7652778e1c.tar.gz | |
fix
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/components/formatting.myt | 6 |
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"> |
