make strip spaces option also strip fullwidth spaces
This commit is contained in:
1 parent
0a549dfe96
commit
8814bf4b10
1 file changed
+2
-2
+2
-2
@@ -1831,8 +1831,8 @@ function grab_text(textNode, offset, elemental)
|
|||||||
|
|
||||||
if(settings.strip_spaces)
|
if(settings.strip_spaces)
|
||||||
{
|
{
|
||||||
text = text.replace(/ /g, "");
|
text = text.replace(/ /g, "");
|
||||||
moreText = moreText.replace(/ /g, "");
|
moreText = moreText.replace(/ /g, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
let index = moreText.lastIndexOf(text);
|
let index = moreText.lastIndexOf(text);
|
||||||
|
|||||||
Reference in new issue
Block a user