Search start of first bullet

This commit is contained in:
M66B 2020-08-13 20:47:50 +02:00
parent 40af60bf95
commit c4f9d1584e
1 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,9 @@ public class StyleHelper {
end++;
}
while (start < end && t.charAt(start - 1) != '\n')
start++;
if (end == t.length() && end > 0 && t.charAt(end - 1) != '\n') {
t.append("\n");
end++;