#90 closed Bug (fixed)
Disappearing <br /> in non-empty list item
| Reported by: | kwillems | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.4.1 |
| Component: | UI : Enter Key | Version: | FCKeditor 2.4 |
| Keywords: | IE, Confirmed | Cc: |
Description (last modified by fredck)
I would like to create XHTML as the following:
<ul>
<li class="decimal">
<span class="ol">1. </span><em>Test 1</em><br />
This line should appear on a new line, because a '<br />'
was entered with 'SHIFT + ENTER, just after '<em>Test 1</em>'.
</li>
</ul>
But in fact in (Internet Explorer 7) when I hit SHIFT + ENTER a single time, the <br /> diasappears (for example: after switching to source-mode and back).
In Firefox i've no problem at all and SHIFT + ENTER behaves like expected!
I found two 'solutions':
- Remove the <em> and </em> surrounding 'Test 1'
- Hit SHIFT + ENTER twice!!!!
For me this is a huge problem, because the users of my CMS (most of them use Internet Explorer) of course would never think about hitting SHIFT + ENTER twice.
Regards,
Koen Willems
Attachments (1)
Change History (8)
comment:1 Changed 10 years ago by fredck
- Description modified (diff)
- Keywords IE added
- Summary changed from disappearing <br /> in non-empty listitem to Disappearing <br /> in non-empty list item
comment:2 Changed 10 years ago by fredck
- Keywords Confirmed added
comment:3 Changed 10 years ago by fredck
#122 is probably a DUP of this one.
comment:4 Changed 10 years ago by fredck
comment:5 follow-up: ↓ 6 Changed 10 years ago by fredck
- Resolution set to fixed
- Status changed from new to closed
Fixed with [168].
Click here for more info about our SVN system.
comment:6 in reply to: ↑ 5 Changed 10 years ago by anonymous
Replying to fredck:
Fixed with [168].
Click here for more info about our SVN system.
Wow! Thanx very much for fixing this one!!!!!
Regards,
Koen Willems
comment:7 Changed 10 years ago by fredck
- Milestone changed from FCKeditor 2.4 to FCKeditor 2.4.1

Confirmed on IE 6 also. Ok with Firefox.
Steps to reproduce:
<ul> <li class="decimal"><span class="ol">1. </span><em>Test 1</em>This line should appear on a new line, because a '<br />' was entered with 'SHIFT + ENTER, just after '<em>Test 1</em>'.</li> </ul>