Changes between Initial Version and Version 4 of Ticket #8373


Ignore:
Timestamp:
Sep 13, 2011, 10:57:22 AM (13 years ago)
Author:
Jakub Ś
Comment:

The issue is that in IE9 extra and unnecessary &quote; 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 &quot to ", this wouldn't happen if extra &quot; waren't added

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8373

    • Property Status changed from new to pending
  • Ticket #8373 – Description

    initial v4  
    1 This issue was reported by one of our users in support channel (Topic: Problem with background-image in table properties)
     1**The issue is that in IE9 extra and unnecessary &quote; are added around url.**
    22
    3 To reproduce
    4 1. In IE9, switch to source and paste in the following code:
    5 {{{
    6 <table border="0" cellpadding="0" cellspacing="0" height="145"
    7 style="background-image: url(
    8 http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png);"
    9 width="170">
    10 <tbody>
    11 <tr>
    12 <td>
    13 test</td>
    14 </tr>
    15 </tbody>
    16 </table>
    17 }}}
    18 2.Switch WYSIWYG and back to source
    19 {{{
    20 style="background-image: url(
    21 http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png);"
    22 }}}
    23 will be changed to
     3In user's case such code:
    244{{{
    255style="background-image: url(&quot;
    26 http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png&quot;);"
     6http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png&quot;);" 
    277}}}
    288
     9was saved in DB what later was transformed to
     10{{{
     11style="background-image: url("
     12http://www.sauvons-les-animaux.com/images/l/log/logo-22-ligne-blancheff.png");"
     13}}}
    2914
    30 In user's case those entities were later changed into quotation marks what destroyed HTML when it was loaded to CKEditor form DB at later time. Result:
     15what later was changed by CKEditor to
    3116{{{
    3217<table border="0" cellpadding="0" cellspacing="0" height="145" images=""
     
    3419http://www.sauvons-les-animaux.com="">
    3520}}}
     21
     22**Despite of what is changing &quot to ", this wouldn't happen if extra &quot; weren’t  added**
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy