Skip to content

Commit 23bf948

Browse files
dreis2211wilkinsona
authored andcommitted
Upgrade to Asciidoctor Gradle JVM 3.0.0
See gh-19953
1 parent db1c9f4 commit 23bf948

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

buildSrc/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ dependencies {
1818
implementation("com.fasterxml.jackson.core:jackson-databind:2.10.0")
1919
implementation("commons-codec:commons-codec:1.13")
2020
implementation("org.apache.maven:maven-embedder:3.6.2")
21-
implementation("org.asciidoctor:asciidoctor-gradle-jvm:2.4.0")
21+
implementation("org.asciidoctor:asciidoctor-gradle-jvm:3.0.0")
22+
implementation("org.asciidoctor:asciidoctor-gradle-jvm-pdf:3.0.0")
2223
implementation("org.springframework:spring-core:5.2.2.RELEASE")
2324
implementation("org.springframework:spring-web:5.2.2.RELEASE")
2425
implementation("com.google.code.gson:gson:2.8.5")

buildSrc/src/main/java/org/springframework/boot/build/context/properties/SingleConfigurationTableEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private void writeDescription(AsciidocBuilder builder) {
7474
builder.append("|");
7575
}
7676
else {
77-
String cleanedDescription = this.description.replace("|", "\\|");
77+
String cleanedDescription = this.description.replace("|", "\\|").replace("<", "&lt;").replace(">", "&gt;");
7878
builder.append("|+++", cleanedDescription, "+++");
7979
}
8080
}

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
8989
private String password;
9090

9191
/**
92-
* JNDI location of the datasource. Class, url, username & password are ignored when
92+
* JNDI location of the datasource. Class, url, username and password are ignored when
9393
* set.
9494
*/
9595
private String jndiName;

0 commit comments

Comments
 (0)