lib/util.js
function replaceBadCharacters( text ) {
  var i, repl;
  for ( i = 0; i < rLen; i++ ) {
    repl = replacements[i];
    text = text.replace( repl[0], repl[1] );
  }
  return text;
}
function replaceBadCharacters( text ) {
  var i, repl;
  for ( i = 0; i < rLen; i++ ) {
    repl = replacements[i];
    text = text.replace( repl[0], repl[1] );
  }
  return text;
}
function replaceBadCharacters ( text ) { var i , repl ; for ( i = 0 ; i < rLen ; i ++ ) { repl = replacements [ i ] ; text = text . replace ( repl [ 0 ] , repl [ 1 ] ) ; } return text ; }
replace nasty quotes with simple ones
replace nasty quotes with simple ones