Ignore:
Timestamp:
11/29/08 17:24:17 (11 years ago)
Author:
ray
Message:
  • #1346 statusbar shows b, i, strike instead of strong, em, and del
  • #1329 [SmartReplace?] replacement strings broken in compressed code broken
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/SmartReplace/SmartReplace.js

    r1113 r1140  
    113113        if (charCode == 32) //space bar 
    114114        { 
    115                 return this.smartReplace(ev, 2, /^\s-/, ' –', false); // space-space -> dash  
     115                return this.smartReplace(ev, 2, /^\s-/, ' '+String.fromCharCode(8211), false); // space-space -> dash  
    116116        } 
    117117        if ( key == '.' ) // ... -> ellipsis 
    118118        { 
    119                 return this.smartReplace(ev, 2, /\.\./, '
', true); 
     119                return this.smartReplace(ev, 2, /\.\./, String.fromCharCode(8230), true); 
    120120        } 
    121121        return true; 
Note: See TracChangeset for help on using the changeset viewer.