diff --git a/docs/api.md b/docs/api.md index fb656c4..fb6f2bf 100644 --- a/docs/api.md +++ b/docs/api.md @@ -12,3 +12,11 @@ - "_get_tag_pre_content" - "_render" - "_escape_children" + +::: pyhtml.SelfClosingTag + options: + members: + +::: pyhtml.WhitespaceSensitiveTag + options: + members: diff --git a/pyhtml/__tag_base.py b/pyhtml/__tag_base.py index 81f51cf..e6ea90a 100644 --- a/pyhtml/__tag_base.py +++ b/pyhtml/__tag_base.py @@ -90,7 +90,7 @@ def _escape_children(self) -> bool: By default, all string content should be escaped to prevent security vulnerabilities such as XSS, but this is disabled for certain tags such - as