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:
parent
b0a0139c4d
commit
0eaf1ee390
@ -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
Block a user