Thomas Renard <[email protected]> writes:
> Am 10.04.2016 um 16:49 schrieb Norbert Warmuth:
>> Workaround:
>>
>> Replace wikiutil.escape (the line "escape = werkzeug.escape" in
>> MoinMoin/wikiutil.py) with a copy from MoinMoin/support/werkzeug/utils.py
>> (moin_1.9.8.orig.tar.gz).
> This patch works for me. So now the question is: where to repair? In
> python-moinmoin or in the system wide werkzeug...
python-moinmoin. The change with werkzeug 0.9 was intentional:
def escape(s, quote=None):
[...]
.. versionchanged:: 0.9
`quote` is now implicitly on.
:param s: the string to escape.
:param quote: ignored.
http://werkzeug.pocoo.org/docs/0.11/changes/:
Version 0.9
[...]
The escape function now by default escapes quotes.
- Norbert