Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/gh/renovate/major-asciidoc…
Browse files Browse the repository at this point in the history
…torj.version'
  • Loading branch information
zeldigas committed Sep 22, 2024
2 parents 1aa4b85 + 8418495 commit 76d0b08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion convert/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<properties>
<flexmark.version>0.64.4</flexmark.version>
<asciidoctorj.version>2.5.13</asciidoctorj.version>
<asciidoctorj.version>3.0.0</asciidoctorj.version>
<asciidoctorj-diagram.version>2.3.1</asciidoctorj-diagram.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,10 @@ class AsciidocParser(
) + config.attributes + parameters.extraAttrs

private fun htmlConversionOptions(attrs: Map<String, Any?>) = parserOptions {
attributes(
Attributes.builder().attributes(attrs)
.sourceHighlighter("none")
.build()
)
val a = Attributes.builder().build()
a.setAttributes(attrs)
a.setSourceHighlighter("none")
attributes(a)
templateDirs(templatesLocation.toFile())
}

Expand Down

0 comments on commit 76d0b08

Please sign in to comment.