Changeset 598


Ignore:
Timestamp:
10/18/06 15:57:15 (8 years ago)
Author:
wymsy
Message:

Reinstate fix for ticket #487 from changeset:502, accidentally removed in changeset:505

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r596 r598  
    51605160  if ( typeof this.config.stripSelfNamedAnchors != 'undefined' && this.config.stripSelfNamedAnchors ) 
    51615161  { 
    5162     var stripRe = new RegExp(document.location.href.replace(HTMLArea.RE_Specials, '\\$1') + '(#[^\'" ]*)', 'g'); 
     5162    var stripRe = new RegExp(document.location.href.replace(/&/g,'&').replace(HTMLArea.RE_Specials, '\\$1') + '(#[^\'" ]*)', 'g'); 
    51635163    html = html.replace(stripRe, '$1'); 
    51645164  } 
Note: See TracChangeset for help on using the changeset viewer.