Closed Duarte-Figueiredo closed 5 years ago
When using
val printOptions = PrintOptions( pretty = true, singleLineTextElements = true, ) xml("root") { "child"{ cdata("value") } }.toString(printOptions = printOptions)
it results on
<root> <child>value</child> </root>
instead of
<root> <child><![CDATA[value]]></child> </root>
Thanks for reporting @Duarte-Figueiredo This has been fixed in PR 25. Version 1.5.3 will be available in jcenter shortly.
When using
it results on
instead of