Skip to content

Commit

Permalink
Merge pull request spring-projects#19953 from dreis2211
Browse files Browse the repository at this point in the history
* spring-projectsgh-19953:
  Upgrade to Asciidoctor Gradle JVM 3.0.0

Closes spring-projectsgh-19953
  • Loading branch information
wilkinsona committed Feb 13, 2020
2 parents db1c9f4 + 23bf948 commit f2a1840
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.10.0")
implementation("commons-codec:commons-codec:1.13")
implementation("org.apache.maven:maven-embedder:3.6.2")
implementation("org.asciidoctor:asciidoctor-gradle-jvm:2.4.0")
implementation("org.asciidoctor:asciidoctor-gradle-jvm:3.0.0")
implementation("org.asciidoctor:asciidoctor-gradle-jvm-pdf:3.0.0")
implementation("org.springframework:spring-core:5.2.2.RELEASE")
implementation("org.springframework:spring-web:5.2.2.RELEASE")
implementation("com.google.code.gson:gson:2.8.5")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private void writeDescription(AsciidocBuilder builder) {
builder.append("|");
}
else {
String cleanedDescription = this.description.replace("|", "\\|");
String cleanedDescription = this.description.replace("|", "\\|").replace("<", "&lt;").replace(">", "&gt;");
builder.append("|+++", cleanedDescription, "+++");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
private String password;

/**
* JNDI location of the datasource. Class, url, username & password are ignored when
* JNDI location of the datasource. Class, url, username and password are ignored when
* set.
*/
private String jndiName;
Expand Down

0 comments on commit f2a1840

Please sign in to comment.