Skip to content

escape XML entities in TTS strings#980

Merged
panentheos merged 1 commit intomainfrom
bhw/xml
Dec 5, 2025
Merged

escape XML entities in TTS strings#980
panentheos merged 1 commit intomainfrom
bhw/xml

Conversation

@panentheos
Copy link
Collaborator

Summary of changes

This is part of a fix for an issue with PA messages containing reserved XML characters. Escapes all special characters before sending the payload to Watts/Polly.

@panentheos panentheos requested a review from a team as a code owner December 5, 2025 17:50
Copy link
Contributor

@digitalcora digitalcora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be straightforward to add test coverage for this? Otherwise looks good.

@panentheos
Copy link
Collaborator Author

This module doesn't have a test harness, so unfortunately it wouldn't be straightforward. It's on my list to build out though, since this logic has gotten more intricate over time. I did do an end-to-end test of this change locally to verify it.

@panentheos panentheos merged commit fd46fa9 into main Dec 5, 2025
8 checks passed
@panentheos panentheos deleted the bhw/xml branch December 5, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants