Description

MoinMoin/converter/text_html_text_x_moin generates invalid moin text for table formatting

Steps to reproduce

Given the following html:

<table>
 <tbody>
 <tr>
   <td width="21%">
   Cell example
   </td>
 </tr>
 </tbody>
</table>

and 1.5.3, (rather than 1.5.2) I get this for converted output:

||<2 1 %>    Cell example     ||

which gives an error on display of: Expected "%" after "2", got "1"

Example

See above

Details

I believe line 958 in 1.5.3 MoinMoin/converter/text_html_text_x_moin.py should be:

result.insert(0, "%s" % align)

instead of the current:

result[0:0] = "%s" % align

Workaround

See above

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/HtmlTextConvertTables (last edited 2007-10-29 19:18:29 by localhost)