We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PatchPluginXmlTask wrongly escapes changeNotes tags inside CDATA block, see below
No response
Have the following task
withType<PatchPluginXmlTask> { changeNotes.set(releaseNotes) }
where releaseNotes are
releaseNotes
val releaseNotes = """<![CDATA[ <a href="123">123</a> ]]>"""
In the resulting plugin.xml, change-notes section will contain the html with escaped values
plugin.xml
<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
1.16.0
8.3
Windows
The text was updated successfully, but these errors were encountered:
Can this behavior at least be made optional?
Sorry, something went wrong.
PatchPluginXmlTask: Wrap the content passed to <change-notes> and `…
<change-notes>
d8ad507
…<description>` elements with `<![CDATA[ ... ]]>` #1498
Thanks for creating this ticket, Evgeny!
The content passed to <change-notes> and <description> elements is now wrapped with <![CDATA[ ... ]]> by default.
<description>
<![CDATA[ ... ]]>
It's possible to turn that off with:
tasks { patchPluginXml { useCDATA = false } }
No branches or pull requests
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
areIn the resulting
plugin.xml
, change-notes section will contain the html with escaped valuesHowever, 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
The text was updated successfully, but these errors were encountered: