Skip to content

Commit be9d4f8

Browse files
committed
Merge branch 'main' of https://github.com/testersen/springdoc-openapi into testersen-main
2 parents 9dda7a9 + e2df152 commit be9d4f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/utils/PropertyResolverUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private int resolveMinIndent(String[] lines) {
143143
private int countLeadingSpaces(String line) {
144144
int count = 0;
145145
for (char ch : line.toCharArray()) {
146-
if (ch != ' ') break;
146+
if (ch != ' ' && ch != '\t') break;
147147
count++;
148148
}
149149
return count;
@@ -222,4 +222,4 @@ public Map<String, Object> resolveExtensions(Locale locale, Map<String, Object>
222222
else
223223
return extensions;
224224
}
225-
}
225+
}

0 commit comments

Comments
 (0)