Word count fix from azaozz. fixes #6991

git-svn-id: http://svn.automattic.com/wordpress/trunk@8035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-06-03 08:13:33 +00:00
parent e455106cdf
commit ed30026ce8
1 changed files with 1 additions and 1 deletions

View File

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