diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index e7b96bdf1..ea099f955 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -294,6 +294,7 @@ sub preprocess (@) { elsif ($key eq 'name') { push @{$metaheaders{$page}}, scrub('', $page, $destpage); } diff --git a/t/meta.t b/t/meta.t index ab25c2f83..c95e23531 100755 --- a/t/meta.t +++ b/t/meta.t @@ -125,12 +125,11 @@ write_build_read_compare( # qr{}, #); -# XXX buggy? is this my bug? maybe twitter:foo would just work if this worked -#write_build_read_compare( -# 'name', -# q{[[!meta name="thingy" value1="hi" value2="hello"]]}, -# qr{}, -#); +write_build_read_compare( + 'name', + q{[[!meta name="thingy" value1="hi" value2="hello"]]}, + qr{}, +); write_build_read_compare( 'keywords', @@ -149,11 +148,11 @@ write_build_read_compare( # '[[!meta twitter:card="player"]]', # qr{}, #); -# -#write_build_read_compare( -# 'twittercard2', -# '[[!meta name="twitter:card" content="player"]]', -# qr{}, -#); + +write_build_read_compare( + 'twittercard2', + '[[!meta name="twitter:card" content="player"]]', + qr{}, +); done_testing();