Skip to content

Comments

Fix apostrophe in notification button content breaking XML#6239

Draft
guimafelipe wants to merge 2 commits intomainfrom
user/felipeda/notifapostrophe
Draft

Fix apostrophe in notification button content breaking XML#6239
guimafelipe wants to merge 2 commits intomainfrom
user/felipeda/notifapostrophe

Conversation

@guimafelipe
Copy link
Contributor

Summary

  • Applies EncodeXml() to m_content in AppNotificationButton::ToString() to properly escape special XML characters (apostrophes, ampersands, etc.)
  • All other fields (SetToolTip, SetInputId, text, combobox items) already use EncodeXml() — button content was the only one missing it

Fixes #4996

@guimafelipe
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AppNotificationBuilder.BuildNotification fails with ComException when the character ' appears on an AppNotificationButton

1 participant