>.< should be quoteable (bugfix).

This commit is contained in:
Millesimus 2021-09-08 16:32:44 +02:00 committed by Daniel Gultsch
parent dfeeaff74c
commit 4d36231fa5
1 changed files with 2 additions and 2 deletions

View File

@ -77,10 +77,10 @@ public class QuoteHelper {
}
public static boolean isNestedTooDeeply (CharSequence line){
if (isPositionQuoteCharacter(line, 0)) {
if (isPositionQuoteStart(line, 0)) {
int nestingDepth = 1;
for (int i = 1; i < line.length(); i++) {
if (isPositionQuoteCharacter(line, i)) {
if (isPositionQuoteStart(line, i)) {
nestingDepth++;
}
if (nestingDepth > (Config.QUOTING_MAX_DEPTH - 1)) {