Description

We are using styles and class for formatting table cells. But the " is replaced by  "  

Steps to reproduce

Example

Example:

|| Test ||<class="test">Test||
|| narrow ||<style="width: 99%; text-align: center;"> wide || 

The created HTML code for <TD> is:

<td class="&quot;test&quot;">....
<td style="&quot; width: 99%;  text-align: center; &quot;">...

As you can see, the " is replaced by " and so the CSS class is not found.

Style is working, because the  &quot;  at beginning and at the end ignored by the browser.

Component selection

Details

MoinMoin Version

1.9.7

OS and Version

Ubuntu 14.04

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

The class works properly just removing the double quotes: <class=test> instead of <class="test">.

Example:

|| Test ||<class=test>Test||

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/1.9.7Table_styles/class not working (last edited 2015-02-03 19:18:31 by ThomasWaldmann)