Menu

Commit [r2644]  Maximize  Restore  History

The regular expressions of the wiki parser are now operating

on the ''raw'' text, which has not been HTML-escaped.
There's simply one more regular expression which does the
HTML escaping as part of the wiki processing.
This has two advantages:
* no need to unescape again, in several circumstances
* simple regular expressions can be built to handle the "&" character

The latter enables us to fix #2455.

On the other hand, care must be taken by the various _formatter methods
to correctly HTML escape the matched text groups.

cboos 2005-12-12

changed /trunk/trac/Search.py
changed /trunk/trac/ticket/query.py
changed /trunk/trac/wiki/formatter.py
changed /trunk/trac/wiki/tests/wiki-tests.txt
/trunk/trac/Search.py Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/query.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/formatter.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