Skip to content

Commit 84712fa

Browse files
committed
Fix xref generation when starter has a digit in its name
See gh-46245
1 parent 85bc3bd commit 84712fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/java/org/springframework/boot/build/starters/DocumentStarters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private String postProcessDescription(String description) {
121121
}
122122

123123
private String addStarterCrossLinks(String input) {
124-
return input.replaceAll("(spring-boot-starter[A-Za-z-]*)", "xref:#$1[`$1`]");
124+
return input.replaceAll("(spring-boot-starter[A-Za-z0-9-]*)", "xref:#$1[`$1`]");
125125
}
126126

127127
private static final class Starter implements Comparable<Starter> {

0 commit comments

Comments
 (0)