Description

Existing pages' paragraphs are joined together to one single paragraph under unknown circumstances (likely caused by sequences of indented paragraphs, see example), when saved in GUI mode.

Steps to reproduce

Just save a page in GUI editor with unrelated changes.

Go to /Example. Edit it in text mode first, to see what it looks like. Then switch to GUI mode and back to text mode. Oops. Better cancel now.

The original text of that page looks like this:

This page is an example of a page that the MoinMoinBugs/GuiEditorJoinsParagraphs bug will bite.
## Tell your story here
Once upon a time there was a paragraph.
## Tell some more here
Then, along came another paragraph.
## I'm enjoying this, keep going.
Unfortunately there was a bug in the GUI Editor.
## Uh-oh...
And it affected all sorts of things. Including:
 * These
 * And...
== Headings! ==
See what I mean?

Example

Note the diff on these texts, they are THREE lines originally.

indent 2 indent 3

Details

MoinMoin Version

1.5.3-rc2

OS and Version

Python Version

Server Setup

Server Details

Workaround

Do not use gui editor on pages with such content.

Discussion

Yeah, on each iteration, moving to text mode remove newlines around paragraphs.

Maybe related to MoinMoinBugs/GuiEditorWordsGetJoinedTogether.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/GuiEditorJoinsParagraphs (last edited 2007-10-29 19:11:33 by localhost)