Skip to content

Add XML channel mode, and general text sanitization - #1557

Open
nwah wants to merge 3 commits into
FujiNetWIFI:masterfrom
nwah:feat/xml-and-sanitization
Open

Add XML channel mode, and general text sanitization#1557
nwah wants to merge 3 commits into
FujiNetWIFI:masterfrom
nwah:feat/xml-and-sanitization

Conversation

@nwah

@nwah nwah commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Turns out that Gumbo is too HTML-focused to really be general purpose SGML parsing / querying. This adds a separate XML channel mode that uses the tinyxml2 library already in the firmware.

It also adds some helpers for converting HTML entities (&) and/or UTF-8 characters (”, —) into plain ASCII. This can be used when querying JSON, HTML or XML values.

Still a bit of duplication with the different network implementations for the different buses.

@FozzTexx

Copy link
Copy Markdown
Contributor

This couldn't wait until after the network is 1108? 🤪

@tschak909

Copy link
Copy Markdown
Collaborator

nothing ever happens when we want it to.

@nwah

nwah commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

This couldn't wait until after the network is 1108? 🤪

You just gotta take a long time to merge it 😉

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.

3 participants