WEB-35820 Issue with spellchecking an expression with & and ;

This commit is contained in:
Piotr Tomiak
2019-03-14 17:38:30 +01:00
parent bd2db69a45
commit d03c8a5956
2 changed files with 4 additions and 1 deletions

View File

@@ -75,6 +75,7 @@ public class PlainTextSplitter extends BaseSplitter {
TextRange found = matcherRange(range, matcher);
till = found.getStartOffset();
if (badSize(from, till)) {
from = found.getEndOffset();
continue;
}
wRange = new TextRange(from, till);

View File

@@ -1,2 +1,4 @@
simple <TYPO descr="Typo: In word 'ttest'">ttest</TYPO> file (just plain text)
русский (например) без словаря не проверять!!!
русский (например) без словаря не проверять!!!
data && !changed; else
data && !<TYPO descr="Typo: In word 'changsed'">changsed</TYPO>; else