Opened 11 years ago
Closed 11 years ago
#11834 closed Bug (invalid)
Bad behaviour when transforming autoclosed tags
Reported by: | sergio0904 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
If you have a source with XML format (autoclosed tags), CKEditor is not transforming them right to HTML.
Steps to reproduce: 1 - Go to the editor demo http://ckeditor.com/demo 2 - Click on source 3 - After "</h1>" write "<a id="tips"/>" 4 - Click on source again
You will see that a link is created until the next <a> tag. I think the right behaviour should be transforming <a id="tips"/> to just <a id="tips"></a>
Change History (1)
comment:1 Changed 11 years ago by
Keywords: | autoclosed tags removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Version: | 4.3.4 |
<a> isn't a self closing tag. Validation error from http://html5.validator.nu/
Besides that, I don't even know if that's CKEditor fixing that anchor or browser, because before parsing HTML CKEditor uses browser engine to fix it.