Skip to content

Conversation

@mitonize
Copy link
Collaborator

エレメント名の先頭文字として許されない文字がある場合は次の開始タグまではテキストノードとして扱われますが、閉じタグの先頭文字として許されない文字の場合はHTMLコメントとして出力されます。ブラウザでの解釈も同じです。

ただし、NekoHtmlの場合は不正な閉じタグのHTMLコメント出力はされません。

@mitonize mitonize merged commit 0cfe667 into master Jul 21, 2025
1 check passed
@mitonize mitonize added this to the v1.3.0 milestone Jul 22, 2025
@mitonize mitonize deleted the fix/treat_invalid_element_name_with_colons branch July 22, 2025 13:05
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.

2 participants