Opened 15 years ago
Closed 15 years ago
#5765 closed Bug (invalid)
Anchor with self closing tag not working
Reported by: | Brian Barnhart | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.3 |
Keywords: | Cc: |
Description
The following entered into the editor as raw html is not rendered correctly when switched back to the WYSIWYG editor. Both IE and Firefox not working.
The anchor closing tag is expanded beyond 'This is the anchor' but it should be expanding, if needed, to before 'This is the anchor'. This is a problem in all 3.x versions but not 2.x.
Regards
Brian
<p> <a href='#ANCHOR'>Link To Anchor</a> </p> <p> Content </p> <p> <a name='ANCHOR'/> This is the anchor</p>
The current is the correct behavior of a HTML parser, is consistent with the browser's, so we don't see this as a bug.