Skip to content

Escape HTML content in Grainz visualization strings.#1307

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_914559832
Open

Escape HTML content in Grainz visualization strings.#1307
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_914559832

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented May 13, 2026

Escape HTML content in Grainz visualization strings.

This change adds HTML escaping to node names and output specifications when constructing the HTML strings for the Grainz visualization graph and pretty table. This prevents potential cross-site scripting (XSS) vulnerabilities and ensures that special HTML characters are rendered correctly.


📚 Documentation preview 📚: https://google-grain--1307.org.readthedocs.build/

This change adds HTML escaping to node names and output specifications when constructing the HTML strings for the Grainz visualization graph and pretty table. This prevents potential cross-site scripting (XSS) vulnerabilities and ensures that special HTML characters are rendered correctly.

PiperOrigin-RevId: 914559832
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.

1 participant