Allow headers and scope on table cells in Sanitizers.TABLES - #407
Merged
Conversation
Salvages the two attributes from PR #326 that #378 did not already cover. - headers on td and th: a space-separated list of ID tokens limited to ASCII letters, digits and _ - . : with white-space collapsed. - scope on th: row, col, rowgroup or colgroup, matched case-insensitively and emitted in canonical lower case. #326's policy compared the lowercased value but returned the original. Positive and negative tests in SanitizersTest; changelog entry crediting the original author. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BZfawfTUAFHN7cocUjcpQK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Salvages the two attributes from #326 that #378 did not already land, on a fresh branch against the current layout.
headersontdandth: a space-separated list of ID tokens (ASCII letters, digits,_ - . :), white-space collapsed, anything else rejected.scopeonth:row,col,rowgroup,colgroup, matched case-insensitively and emitted in canonical lower case. Support standard attributes in TABLES Policy #326's custom policy compared the lowercased value but returned the original.Positive and negative tests in
SanitizersTest, changelog entry, credit to @subbudvk.Supersedes #326.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BZfawfTUAFHN7cocUjcpQK