[moin-user] ||<tableclass="…"> processing broken in Moin 1.9.9

Mark Martinec Mark.Martinec+moin at ijs.si
Sat Nov 25 19:26:50 EST 2017


> On Saturday 25. November 2017 14.37.32 lists at hcf.yourweb.de wrote:
>> I found a bug in Moin 1.9.9, but my account for the moinmo.in wiki has 
>> been
>> deleted and I cannot register a new account as I don't know the magic
>> password. So I am posting this here and hope some developer sees this. 
>> :)
>> 
>> MoinMoin-Wiki Markup Source:
>> ||<tableclass="navigation" tablestyle="background:#dfdfc0;"> '''Table
>> ||Header''' || <style="background:#fffff0;vertical-align: top"> Table 
>> Data
>> ||||
>> 
>> Expected output (as seen in MoinMoin 1.9.7 and below):
>> 
>>   <table class="navigation" style="background:#dfdfc0;"> …
>>   <td style="background:#fffff0; vertical-align: top"> …
>> 
>> Actual output from MoinMoin 1.9.9:
>> 
>>   <table class="&quot;navigation&quot;" style="&quot;
>> background:#dfdfc0; &quot;"> … <td style="&quot;
>> background:#fffff0; vertical-align: top&quot;"> …

2017-11-25 15:35, Paul Boddie wrote:
> Quoting issues are almost always frustrating. Looking at the 
> differences
> between 1.9.7 and 1.9.9, there are few changes to the parser and 
> formatter
> code, but I did spot something interesting in one of the tests:
> 
> https://bitbucket.org/thomaswaldmann/moin-1.9commits/465cb6f5c6d7a88e5c3685d86ad20ff0e41318d5#chg-MoinMoin/parser/_tests/test_text_moin_wiki.py
> 
> The commit message is useful because it indicates that Werkzeug got 
> upgraded
> and had changed its behaviour. I haven't chased down the sequence of
> operations that might involve the escape function, however.
> 
> What is also odd is that the above looks like double-quoting.
> 
> Paul


This double quoting bug is frustrating. It has already been reported
in June 2017:

   https://mail.python.org/pipermail/moin-user/2017-June/009765.html

Apart from downgrading Werkzeug, I haven't found a better solution.

   Mark


More information about the moin-user mailing list