Skip to content

Commit 434e36b

Browse files
committed
Fix XHTML regression
1 parent 2442e62 commit 434e36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CSS/TagSet/XHTML.rakumod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ method stylesheet-content($doc, :$media, :$links) {
133133
# Builds CSS properties from an element from a tag name and attributes
134134
method tag-style(Str $tag, :$hidden, *%attrs) {
135135
my CSS::Properties $css = self.base-style($tag).clone;
136-
$css.display = :keyw<none> if $hidden;
136+
$css.display = :keyw<none> with $hidden;
137137

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

0 commit comments

Comments
 (0)