[doc] Fix rule doc generation when rule description is empty
This commit is contained in:
@@ -546,7 +546,7 @@ public class RuleDocGenerator {
|
||||
|
||||
int indentation = 0;
|
||||
int strLen = stripped.length();
|
||||
while (Character.isWhitespace(stripped.charAt(indentation)) && indentation < strLen) {
|
||||
while (indentation < strLen && Character.isWhitespace(stripped.charAt(indentation))) {
|
||||
indentation++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user