Changeset 1664

Show
Ignore:
Timestamp:
2008-02-29 12:05:41 (4 months ago)
Author:
fredck
Message:

Fixed #1952 : FCKTools.FixCssUrls is not properly ignoring absolute paths.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fcktools.js

    r1629 r1664  
    4646        return cssStyles.replace( /url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g, function( match, opener, path, closer ) 
    4747                { 
    48                         if ( /^\/|^\w?:/.test() ) 
     48                        if ( /^\/|^\w?:/.test( path ) ) 
    4949                                return match ; 
    5050                        else 
  • FCKeditor/trunk/_whatsnew.html

    r1663 r1664  
    5050                        or typing after a placeholder with the placeholder plugin will no longer generate  
    5151                        colored text.</li> 
     52                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed 
     53                        an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li> 
    5254        </ul> 
    5355        <h3>