Opened 14 years ago
Last modified 14 years ago
#7985 confirmed Bug
Horizontal Line breaks current formatting
Reported by: | Freddie Bingham | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: | satya_minnekanti@… |
Description
- Start with an empty editor
- Press the "Bold" button
- Type in "Test"
- Press the "Horizontal Line" button
- Type in "Test"
Note that step 5 produces text that is not bold. This text is expected to be bold and the editor seems to agree to a point as when you inspect the contents of the editor, you see (in <br /> mode)
<strong>TEST</strong> <hr> TEST <strong></strong>
Note the empty strong tags at the bottom, which really should be around the second TEST. This is also reproducible on the demo, which is using <p> tag mode.
Only Opera leaves bold formatting after pressing horizontal line.
Other browsers behave as described above. They don’t format text and produce empty strong element below it. Of course this element is removed when switching to source mode.