projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdf88c8
)
Correct meta.robots attribute value->content
author
martin f. krafft
<madduck@madduck.net>
Tue, 11 Mar 2008 22:02:01 +0000
(23:02 +0100)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 11 Mar 2008 22:37:04 +0000
(18:37 -0400)
This was a silly typo, sorry. <meta ...> takes an attribute content, not
value.
Signed-off-by: martin f. krafft <madduck@madduck.net>
IkiWiki/Plugin/meta.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/meta.pm
b/IkiWiki/Plugin/meta.pm
index 0c210b64d6b78f2f028d07680a566137833656d4..8803747fb9bd3cb932b222f9dd8f81aa600874b8 100644
(file)
--- a/
IkiWiki/Plugin/meta.pm
+++ b/
IkiWiki/Plugin/meta.pm
@@
-203,7
+203,7
@@
sub preprocess (@) { #{{{
}
elsif ($key eq 'robots') {
push @{$metaheaders{$page}}, '<meta name="robots"'.
- '
value
="'.encode_entities($value).'" />';
+ '
content
="'.encode_entities($value).'" />';
}
else {
push @{$metaheaders{$page}}, scrub('<meta name="'.encode_entities($key).