Menu

Commit [r9065]  Maximize  Restore  History

WikiProcessors: allow leading spaces in the first line `#!processor`.

That amount of space is removed from the beginning of each line in the corresponding block, if possible.

e.g.
{{{
- This is some XML:
{{{
#!xml
<book>
<chapter><title>At the beginning...</title>
There was some leading space.
</chapter>
</book>
}}}
}}}

cboos 2010-01-24

changed /trunk/trac/wiki/formatter.py
changed /trunk/trac/wiki/parser.py
changed /trunk/trac/wiki/tests/wiki-tests.txt
/trunk/trac/wiki/formatter.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/parser.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/wiki-tests.txt Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB