Skip to content

Commit

Permalink
🐛 FIX: do not close input tag
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed May 22, 2024
1 parent e258b45 commit 88b0c0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sphinx_design/tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def visit_tab_input(self, node):


def depart_tab_input(self, node):
self.body.append("</input>")
# note do not add a closing tag, since this is a void element:
# https://developer.mozilla.org/en-US/docs/Glossary/Void_element
pass


def visit_tab_label(self, node):
Expand Down

0 comments on commit 88b0c0a

Please sign in to comment.