Ticket #3925 (closed defect: fixed)
whitespace not preserved in `{{{ }}}` blocks
| Reported by: | mgood | Owned by: | cboos |
|---|---|---|---|
| Priority: | highest | Milestone: | 0.11 |
| Component: | wiki system | Version: | devel |
| Severity: | normal | Keywords: | genshi |
| Cc: | manuzhai@… |
Description
There's a test failure which appears to be due to whitespace not being preserved in the {{{ }}} blocks. This is possibly an issue in Genshi, though I thought it was already fixed to preserve whitespace inside <pre> elements.
======================================================================
FAIL: Test Unfinished code blocks
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/matt/Projects/trac/trunk/trac/wiki/tests/formatter.py", line 129, in test
raise AssertionError( # See below for details
AssertionError:
--------------- expected:
<p>
Block
</p>
<pre class="wiki">number one
and block
{{{
number two
}}
}}}
</pre>
--------------- actual:
<p>
Block
</p>
<pre class="wiki">number one
and block
{{{
number two
}}
}}}
</pre>
---------------
/home/matt/Projects/trac/trunk/trac/wiki/tests/wiki-tests.txt:413: "Unfinished code blocks" (default flavor)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


