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:
parent
e455106cdf
commit
ed30026ce8
|
@ -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( / /gi, ' ' );
|
tx = tx.replace( /<.[^<>]*?>/g, ' ' ).replace( / /gi, ' ' );
|
||||||
|
|
Loading…
Reference in New Issue