aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2015-08-22 22:20:03 -0400
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2015-08-22 22:34:53 -0400
commit09916a90ed9f22212ac62078132fd2375ed0017f (patch)
tree4fb8a70821bd29a30801ba1bcf3bfdd4d5b5e51f /t
parent69f8b6427ef0789ce37cef1c74c5bc6ef16e7e2f (diff)
downloadikiwiki-09916a90ed9f22212ac62078132fd2375ed0017f.tar
ikiwiki-09916a90ed9f22212ac62078132fd2375ed0017f.tar.gz
Fix [[!meta name=foo]] by closing the open quote.
Diffstat (limited to 't')
-rwxr-xr-xt/meta.t23
1 files changed, 11 insertions, 12 deletions
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{<link href="http://wonka\.link\.example" />},
#);
-# 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{<meta name="thingy" value1="hi" value2="hello" />},
-#);
+write_build_read_compare(
+ 'name',
+ q{[[!meta name="thingy" value1="hi" value2="hello"]]},
+ qr{<meta name="thingy" value[0-9]{1}=".+?" value[0-9]{1}=".+?" />},
+);
write_build_read_compare(
'keywords',
@@ -149,11 +148,11 @@ write_build_read_compare(
# '[[!meta twitter:card="player"]]',
# qr{<meta name="twitter:card" content="player" />},
#);
-#
-#write_build_read_compare(
-# 'twittercard2',
-# '[[!meta name="twitter:card" content="player"]]',
-# qr{<meta name="twitter:card" content="player" />},
-#);
+
+write_build_read_compare(
+ 'twittercard2',
+ '[[!meta name="twitter:card" content="player"]]',
+ qr{<meta name="twitter:card" content="player" />},
+);
done_testing();