switching view injects hardcoded URL

  •  07-01-2009, 12:56 PM

    switching view injects hardcoded URL

    ** this is the inline style used on your site**
    <div style="background-image: url(/Uploads/j0262681.jpg); border: green 2px solid; height: 150px;">&nbsp;</div>
     
     
    When in html view enter the above
     
    when you switch to the Normal view then back it changed to:
    <div style="background-image: url(http://cutesoft.net/Uploads/j0262681.jpg); border-bottom: green 2px solid; border-left: green 2px solid; height: 150px; border-top: green 2px solid; border-right: green 2px solid">&nbsp;</div>

    this wouldnt be bad except if you plan on moving your site or just do not want hardcoded refs
     
    this happens also in your online test editor and even on http://richtextbox.com/test/ (which doesnt even have this file located on the server)
    Filed under:
View Complete Thread