Description
The GUI incorrectly removes blank lines in lists.
Steps to reproduce
1. We have a wiki enry which consists of a line of product names arranged in a list with one product per line. We use the full name of the product as the products wiki page entry then follow this with the products short name (acronym) in brackets.
The contents of our page therefore looks something like this:
=== Current Products === ["Product Name 1"] (PN1) ["Product Name 2"] (PN2) ["Product Name 3"] (PN3) ["Product Name 4"] (PN4)
This page displays like so:
Current Products
Product Name 1 (PN1)
Product Name 2 (PN2)
Product Name 3 (PN3)
Product Name 4 (PN4)
2. As you can (hopefully) see each item in the list is separated by a blank line.
3. When this page is edited in text mode then saved all is well.
4. However editing it in GUI mode causes a "." character to be added in front of the first item and all the blank lines between entries to be removed. The list is then displayed as a block of text leaving the page looking something like the following:
=== Current Products === . ["Product Name 1"] (PN1) ["Product Name 2"] (PN2) ["Product Name 3"] (PN3) ["Product Name 4"] (PN4)
Which displays like this:
Current Products
Product Name 1 (PN1) Product Name 2 (PN2) Product Name 3 (PN3) Product Name 4 (PN4)
Example
Sadly our wiki is on an intranet so is not externally visible.
Details
MoinMoin Version |
this wiki |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
English |
Workaround
Put a message on the page asking people not to edit it in GUI mode. If they do then someone has the very tedious job of going back in in text mode and adding all the line breaks back in.
You have found the reason why this " . " list markup was introduced: because it is hard to differentiate between paragraphs within a single list item and multiple list items when you are just indenting with blanks.
So just use:
Product Name 1 (PN1)
Product Name 2 (PN2)
Product Name 3 (PN3)
Product Name 4 (PN4)
For more info see also HelpOnLists
Discussion
Plan
- Priority:
- Assigned to:
- Status: