diff --git a/convert/pom.xml b/convert/pom.xml
index 18701e6..003cbea 100644
--- a/convert/pom.xml
+++ b/convert/pom.xml
@@ -13,7 +13,7 @@
0.64.4
- 2.5.13
+ 3.0.0
2.3.1
diff --git a/convert/src/main/kotlin/com/github/zeldigas/text2confl/convert/asciidoc/AsciidocParser.kt b/convert/src/main/kotlin/com/github/zeldigas/text2confl/convert/asciidoc/AsciidocParser.kt
index 8a640f0..640a567 100644
--- a/convert/src/main/kotlin/com/github/zeldigas/text2confl/convert/asciidoc/AsciidocParser.kt
+++ b/convert/src/main/kotlin/com/github/zeldigas/text2confl/convert/asciidoc/AsciidocParser.kt
@@ -64,11 +64,10 @@ class AsciidocParser(
) + config.attributes + parameters.extraAttrs
private fun htmlConversionOptions(attrs: Map) = 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())
}