Skip to content

Escape GeoJson detail property values - #2383

Open
draarivpatel-ui wants to merge 1 commit into
python-visualization:mainfrom
draarivpatel-ui:fix-2365-escape-geojson-detail
Open

draarivpatel-ui wants to merge 1 commit into
python-visualization:mainfrom
draarivpatel-ui:fix-2365-escape-geojson-detail

Conversation

@draarivpatel-ui

Copy link
Copy Markdown

Fixes #2365.

Summary

  • Escape GeoJson tooltip and popup property values before inserting the generated table with innerHTML.
  • Escape field aliases as well so label text is displayed literally.
  • Add regression coverage for HTML-like property values.

Tests

  • python -m pytest -q tests/test_features.py - 50 passed

Copilot AI balanced review requested due to automatic review settings November 25, 2026 16:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

This branch has not been deployed

No deployments
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.

GeoJsonTooltip and GeoJsonPopup render property values as raw HTML

2 participants