Changeset 618


Ignore:
Timestamp:
05/01/09 21:22:50 (3 years ago)
Author:
jf.hovinne
Message:

Fix #157 (thanks nick).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wymeditor/jquery.wymeditor.js

    r617 r618  
    34223422{ 
    34233423  for (var entity in this.entities) { 
    3424     xhtml = xhtml.replace(entity, this.entities[entity]); 
     3424    xhtml = xhtml.replace(new RegExp(entity, 'g'), this.entities[entity]); 
    34253425  } 
    34263426  return xhtml; 
Note: See TracChangeset for help on using the changeset viewer.