mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-24476 ReStructuredTest Support Plugin incorrectly reports warning on title length
This commit is contained in:
@@ -86,7 +86,7 @@ public class RestTitle extends RestElement {
|
||||
public String getUnderline() {
|
||||
final String text = getNode().getText().trim();
|
||||
if (text.length() < 2) return null;
|
||||
final char adorn = text.charAt(text.length()-2);
|
||||
final char adorn = text.charAt(text.length()-1);
|
||||
final CharacterIterator it = new StringCharacterIterator(text);
|
||||
int start = 0;
|
||||
for (char ch = it.last(); ch != CharacterIterator.DONE; ch = it.previous()) {
|
||||
|
||||
Reference in New Issue
Block a user