Mercurial > p > roundup > code
view website/issues/html/msg.index.html @ 4579:ba4c632143f6
issue2550535 Fix keep_quoted_text=yes setting.
In some cases even when keep_quoted_text=yes is configured we would
strip quoted sections. This hit the python bug-tracker especially for
python interpreter examples with leading '>>>' strings. The fix is
slightly different compared to the proposal as this broke
keep_quoted_text=no in certain cases. We also fix a bug where
keep_quoted_text=no would drop the last line of a non-quoted section if
there wasn't an empty line between the next quotes.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Thu, 05 Jan 2012 20:55:47 +0100 |
| parents | c2d0d3e9099d |
| children |
line wrap: on
line source
<tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title" i18n:translate="" >List of messages - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker"/></title> <span metal:fill-slot="body_title" tal:omit-tag="python:1" i18n:translate="">Message listing</span> <td class="content" metal:fill-slot="content"> <table tal:define="batch request/batch" class="messages"> <tr><th colspan=3 class="header" i18n:translate="">Messages</th></tr> <tal:block tal:repeat="msg batch"> <tr> <th><a tal:attributes="href string:msg${msg/id}"><tal:x replace="msg/id"/></a></th> <th tal:content="string:Author: ${msg/author}">author</th> <th tal:content="string:Date: ${msg/date}">date</th> </tr> <tr> <td colspan="3"><pre tal:content="msg/content">content</pre></td> </tr> </tal:block> <metal:block use-macro="templates/issue.index/macros/batch-footer" /> </table> </td> </tal:block>
