Description
The reStructured Text Parser strips out style tags that are normally created for HTML-formatted reST documents. In particular, the ".. class:: someclass" construct does not work, and paragraphs embedded in list items lose their "class='first'" style.
Steps to reproduce
- Create a page formatted with reStructured Text by default
- Use the ".. class:: example" construct to attach a class= to a section.
- Observe the HTML does not have any reference to class="example"
Example
test
Details
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Workaround
No workaround.
Discussion
Maybe that feature simply isn't supported. We accept patches.
I looked into the code and could not figure out why we are losing the class attribute of the rst-nodes. Maybe Matt finds out the reason ... -- AlexanderSchremmer 2005-10-15 21:59:04
Problem seems to be with setup_wiki_handlers. Commenting out all handlers in that section seems to fix things. -- Jack of Spades 20 Dec 2005
Plan
- Priority:
- Assigned to:
Status: Fixed in MoinMoin 1.5.0