Word count fix from azaozz. fixes #6991

git-svn-id: https://develop.svn.wordpress.org/trunk@8035 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-06-03 08:13:33 +00:00
parent b0a0139c4d
commit 0eaf1ee390
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
if ( t.block ) return;
t.block = 1;
tx = tx.replace( /^\s*|\s*$/g, '' );
setTimeout( function() {
if ( tx ) {
tx = tx.replace( /<.[^<>]*?>/g, ' ' ).replace( /&nbsp;/gi, ' ' );