mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-06 01:09:02 +00:00
Fix xref generation when starter has a digit in its name
See gh-46245
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ public abstract class DocumentStarters extends DefaultTask {
|
||||
}
|
||||
|
||||
private String addStarterCrossLinks(String input) {
|
||||
return input.replaceAll("(spring-boot-starter[A-Za-z-]*)", "xref:#$1[`$1`]");
|
||||
return input.replaceAll("(spring-boot-starter[A-Za-z0-9-]*)", "xref:#$1[`$1`]");
|
||||
}
|
||||
|
||||
private static final class Starter implements Comparable<Starter> {
|
||||
|
||||
Reference in New Issue
Block a user