posit-dev / py-htmltools

Tools for HTML generation and output
MIT License
19 stars 2 forks source link

fix: Escape HTML tags in tag docstrings so they don't break our docs #90

Closed gadenbuie closed 2 months ago

gadenbuie commented 3 months ago

We're using the name and title of the htmltools.tags functions in https://shiny.posit.co/py/api/core/ui.tags.html but they're unprotected HTML, resulting in a broken table.

Fixes https://github.com/posit-dev/py-shiny/issues/1337

This was reported on Discord and then by Randy. Thanks @gregswinehart for the push to find the fix.

I haven't re-generated docs. I'm hoping @schloerke might have the time to carry this fix through to https://shiny.posit.co/py