Skip to content

Commit

Permalink
Fix XHTML regression
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Sep 20, 2024
1 parent 2442e62 commit 434e36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CSS/TagSet/XHTML.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ method stylesheet-content($doc, :$media, :$links) {
# Builds CSS properties from an element from a tag name and attributes
method tag-style(Str $tag, :$hidden, *%attrs) {
my CSS::Properties $css = self.base-style($tag).clone;
$css.display = :keyw<none> if $hidden;
$css.display = :keyw<none> with $hidden;

for %attrs.keys.grep({%AttrTags{$_}:exists && $tag ~~ %AttrTags{$_}}) {
my $name = %AttrProp{$_} // $_;
Expand Down

0 comments on commit 434e36b

Please sign in to comment.