I would like to extend the functionality of the Announcement Banner in Jira so before the message is saved/set the user input is validated against a set of rules. E.g. it contains valid HTML, valid JavaScript, etc.
I know that external tools can be used to validate first and then paste the message back to Jira but I would prefer to have this functionality built into Announcement Banner.