>.< should be quoteable (bugfix).
This commit is contained in:
parent
dfeeaff74c
commit
4d36231fa5
|
@ -77,10 +77,10 @@ public class QuoteHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isNestedTooDeeply (CharSequence line){
|
public static boolean isNestedTooDeeply (CharSequence line){
|
||||||
if (isPositionQuoteCharacter(line, 0)) {
|
if (isPositionQuoteStart(line, 0)) {
|
||||||
int nestingDepth = 1;
|
int nestingDepth = 1;
|
||||||
for (int i = 1; i < line.length(); i++) {
|
for (int i = 1; i < line.length(); i++) {
|
||||||
if (isPositionQuoteCharacter(line, i)) {
|
if (isPositionQuoteStart(line, i)) {
|
||||||
nestingDepth++;
|
nestingDepth++;
|
||||||
}
|
}
|
||||||
if (nestingDepth > (Config.QUOTING_MAX_DEPTH - 1)) {
|
if (nestingDepth > (Config.QUOTING_MAX_DEPTH - 1)) {
|
||||||
|
|
Loading…
Reference in a new issue