sphinx-design icon indicating copy to clipboard operation
sphinx-design copied to clipboard

Invalid html generated by the tab code

Open vkbo opened this issue 2 years ago • 1 comments

The code that generates tabs adds an invalid </input> closing tag. The <input> element in HTML doesn't have a closing tag as it's a void element. I expect they are ignored by browsers anyway, but they fail in HTML validation tools.

https://github.com/executablebooks/sphinx-design/blob/3d0db63f06a8f59a5ea1067e0f43782464eeff83/sphinx_design/tabs.py#L190-L191

vkbo avatar Apr 11 '23 09:04 vkbo

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Apr 11 '23 09:04 welcome[bot]