Description

If a user type some text after the Parser ending brackets }}} the following text will be seen as a list item with <li>-Tag, but without <ul>.

Steps to reproduce

Create a site with following code

{ { {#!java
Test
} } }
correct

{ { {#!java
Test
} } } wrong

=== Headline ===

More text...

without the spaces between the brackets!

If you take a look at the HTML-code you will see something like

<pre class="file">Test</pre>
<p class="line874">
korrekt
<p class="line867">
<pre class="file">Test</pre>
<p class="line867">
<li style="list-style-type:none">falsch
  <p class="line867">
  <h3 id="head-73b4d710f7882cd525e83cd751aceeea4a5bfbb5-2">Headline</h3>
  More text...
</li>

In the second example there is a <li> withouth the opening <ul>-Tag. This is not HTML-conform. Further is makes problem with sites thet uses some indention in its sites (see example).

Example

URL: http://wiki.ubuntuusers.de/acpi-fix (see section "Typische Fehler in der dsdt")

Code:

   1 Test

correct

   1 Test

wrong

Headline

More text... (This is part of the example!)

Details

MoinMoin Version: This Wiki.

It is not visible to the outside if you do not use intended texts in a css-file.

Workaround

Do not write text directly after some parser brackets. (Unfortunately most users do this...)

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/WrongListItemAfterParserEnd (last edited 2008-03-08 20:01:42 by ThomasWaldmann)