Domain added in Code Snippet when using I.E. 8

  •  07-29-2010, 10:32 AM

    Domain added in Code Snippet when using I.E. 8

    I have a code snippet that includes style tags in the HTML. The snippet code uses relative paths but when I add the snippet into an editor the paths are changed to absolute - adding the domain name. This only occurs in IE - the html is unchanged when using Firefox. I've also tested this with CutEditor version 6.0 and it seems to occur only using CutEditor ver. 6.6.
     
    Portion of snippet code in Common.config file...
     
    <td valign="top" style="background-image: url(../../Common/Images/Snippets/fr-body.gif); background-repeat: repeat-y;">
     
    Would be inserted using IE as...
     
    <td style="background-image: url(http://cht.yontrack.com/Common/Images/Snippets/fr-body.gif); background-repeat: repeat-y" valign="top">
     
    Would be inserted using Firefox as...
     
    <td style="background-image: url(&quot;../../Common/Images/Snippets/fr-body.gif&quot;); background-repeat: repeat-y;" valign="top">
View Complete Thread