Opened 13 years ago
Closed 13 years ago
#8373 closed Bug (invalid)
IE9 adds " entities around URL in style background-image: url(...)
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.1.1 |
Keywords: | IE9 | Cc: |
Description (last modified by )
The issue is that in IE9 extra and unnecessary "e; are added around url.
In user's case such code:
style="background-image: url(" http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png");"
was saved in DB what later was transformed to
style="background-image: url(" http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png");"
what later was changed by CKEditor to
<table border="0" cellpadding="0" cellspacing="0" height="145" images="" l="" log="" style="background-image: none;" width="170" http://www.sauvons-les-animaux.com="">
Despite of what is changing " to ", this wouldn't happen if extra " weren’t added
Change History (5)
comment:1 Changed 13 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 13 years ago by
Status: | confirmed → pending |
---|
comment:4 follow-up: 5 Changed 13 years ago by
Description: | modified (diff) |
---|
The issue is that in IE9 extra and unnecessary "e; are added around url.
In user's case such code:
style="background-image: url(" http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png");"
was saved in DB what later was transformed to
style="background-image: url(" http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png");"
what later was changed by CKEditor to
<table border="0" cellpadding="0" cellspacing="0" height="145" images="" l="" log="" style="background-image: none;" width="170" http://www.sauvons-les-animaux.com="">
Despite of what is changing " to ", this wouldn't happen if extra " waren't added
comment:5 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Replying to j.swiderski:
Despite of what is changing " to ", this wouldn't happen if extra " waren't added
That's the key point here. CKEditor is not, in any way, producing bad HTML. It's normal to have the original HTML changed, in the same way the editor makes lots of other changes to it.
The target application is instead breaking the HTML, in the same way it would break a tag like the following:
<img title="Text with "quotation" marks" src="image.png" />
Doing any kind of change to CKEditor is the wrong way for it. Other than the fact that there is nothing in the editor to get fixed, the application would still stay broken. So, for the health of the application itself, the thing to get fixes is the application.
Can you please make the problem simpler and more specific. What's the issue with CKEditor?