Closed
Description
What happened?
PatchPluginXmlTask wrongly escapes changeNotes tags inside CDATA block, see below
Relevant log output or stack trace
No response
Steps to reproduce
Have the following task
withType<PatchPluginXmlTask> {
changeNotes.set(releaseNotes)
}
where releaseNotes
are
val releaseNotes = """<![CDATA[
<a href="123">123</a>
]]>"""
In the resulting plugin.xml
, change-notes section will contain the html with escaped values
<change-notes><![CDATA[
<a href="123">123</a>
]]></change-notes>
However, according to docs, html inside CDATA block is valid in change-notes
https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html#idea-plugin__change-notes
Gradle IntelliJ Plugin version
1.16.0
Gradle version
8.3
Operating System
Windows
Link to build, i.e. failing GitHub Action job
No response