Editor makes unwanted changes in styles

  •  11-21-2011, 12:15 AM

    Editor makes unwanted changes in styles

    When we switch to the "Normal" view in the editor, the urls of background images are modified if they begin with a slash. The editor adds automatically the domain of the website.

    before:
    <div style="background: url(/Assets/Local/myimage.gif 

    after:
    <div style="background: url(http://Mydomain.com/Assets/Local/myimage.gif 
     
    Is there a way to prevent this behaviour?
     
    thanks. 
View Complete Thread