Hello :wave: [KotlinPoet] Is there an easy way to ...
# squarelibraries
d
Hello 👋 [KotlinPoet] Is there an easy way to escape KotlinPoet special characters when adding KDocs? e.g.
Copy code
val blowsUp = "my comment %"
spec.addKdoc(blowsUp)
throws
IllegalArgumentException
with
dangling format characters in 'my comment %'
message Tried passing the offending kdoc as a template using
%S
,
%P
and
%L
with no luck. Do I need to manually escape the
%
character in the string?