Use unaryPlus in more places
authorLanius Trolling <lanius@laniustrolling.dev>
Sat, 6 Apr 2024 12:34:02 +0000 (08:34 -0400)
committerLanius Trolling <lanius@laniustrolling.dev>
Sat, 6 Apr 2024 12:34:02 +0000 (08:34 -0400)
src/jvmMain/kotlin/info/mechyrdia/lore/parser_html.kt

index 5a12372e859aaa7931e01422af8cbcbc714f6a7d..bab14170d1e5bbd6a8ac87f20eb52eb5f27f8a65 100644 (file)
@@ -261,7 +261,7 @@ class HtmlTagLexerTag(
                        tagCreator {
                                for ((name, value) in calculatedAttributes)
                                        attributes[name] = value
-                               body()
+                               +body
                        }
                }
        }