Changeset 1983 for FCKeditor

Show
Ignore:
Timestamp:
2008-05-10 16:33:03 (8 months ago)
Author:
alfonsoml
Message:

Fix for #2162, avoid output references to chrome: links

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

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

    r1691 r1983  
    100100        } 
    101101} 
     102 
     103if ( FCKBrowserInfo.IsGecko ) 
     104{ 
     105        // #2162, some Firefox extensions might add references to internal links 
     106        FCKXHtml.TagProcessors['link'] = function( node, htmlNode ) 
     107        { 
     108                if ( htmlNode.href.substr(0, 9).toLowerCase() == 'chrome://' ) 
     109                        return false ; 
     110 
     111                return node ; 
     112        } 
     113 
     114} 
  • FCKeditor/trunk/_whatsnew.html

    r1973 r1983  
    8282                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2160">#2160</a>] "Match whole word" in the 
    8383                        Find and Replace dialog will now find words next to punctuation marks as well.</li> 
     84                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2162">#2162</a>] If the configuration is set 
     85                        to work including the &lt;head&gt; (FullPage), references to stylesheets added by Firefox extensions 
     86                        won't be added to the output.</li> 
    8487        </ul> 
    8588        <h3>