#19566p after (un)ordered list causes inconsistent markup when using the list buttons to get out of the list
Description
There are several ways to get out of an (un)ordered list. When you are in the last item of your list,
Way 1: press enter two times (first enter creates a new empty list item, second enter gets you out of the list)
Way 2: use button insertParagraphAfter or the equivalent in the context menu.
Way 3: press enter once and then klick the ul/ol button.
Way 3 causes a problem when you want to enter more than one paragraph after your list. The whole text before the last paragraph will be wrapped by a p.
<p>
<p>sometext</p>
<ol>
<li>item 1</li>
<li>item 1</li>
</ol>
some more text
</p>
<p></p>
The problem seems to be that pressing the list button moves the cursor below the list but does not create a p at the same time (the other two ways do that).
Prosit, Uschi
(issue imported from #M9730)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 4
-
Uschi Renziehausen commented 11/04/08, 12:14
-
Uschi Renziehausen commented 11/04/08, 12:18
ok, learned my lesson, pre does not work as expected, you need to htmlspecialchar the stuff first. Sorry for messy messages:
<p>
<p>sometext</p>
<ol>
<li>item 1</li>
<li>item 1</li>
</ol>
some more text
</p>
<p></p> -
Stanislas Rolland commented 06/16/10, 17:20
Hi Uschi,
This was finally fixed in TYPO3 4.3 and trunk See issue #14691.
Kind regards,
Stan -
Benni Mack changed status
ResolvedClosed 10/02/18, 12:29
Forgot to put a pre around the markup: