+
+ |
diff --git a/templates/searchform.tmpl b/templates/searchform.tmpl
index 7c4fdb026..d449c784e 100644
--- a/templates/searchform.tmpl
+++ b/templates/searchform.tmpl
@@ -1,7 +1,7 @@
From: joey ";
+ encode_base64($png)."\">";
}
}
- return "
\n";
+ return "
\n";
} #}}}
sub graph (@) { #{{{
diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm
index c5b08f604..227c56af4 100644
--- a/IkiWiki/Plugin/htmlscrubber.pm
+++ b/IkiWiki/Plugin/htmlscrubber.pm
@@ -44,8 +44,7 @@ sub scrubber { #{{{
selected shape size span src start summary
tabindex target title type usemap valign
value vspace width
- }, "/" => 1, # emit proper
XHTML
- }],
+ }}],
);
return $_scrubber;
} # }}}
diff --git a/IkiWiki/Plugin/htmltidy.pm b/IkiWiki/Plugin/htmltidy.pm
index cd5dc83ac..32e9b3618 100644
--- a/IkiWiki/Plugin/htmltidy.pm
+++ b/IkiWiki/Plugin/htmltidy.pm
@@ -22,7 +22,7 @@ sub sanitize (@) { #{{{
my $pid;
my $sigpipe=0;
$SIG{PIPE}=sub { $sigpipe=1 };
- $pid=open2(*IN, *OUT, 'tidy -quiet -asxhtml -utf8 --show-body-only yes --show-warnings no --tidy-mark no');
+ $pid=open2(*IN, *OUT, 'tidy -quiet -ashtml -utf8 --show-body-only yes --show-warnings no --tidy-mark no');
# open2 doesn't respect "use open ':utf8'"
binmode (IN, ':utf8');
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm
index a453a49ba..7d74ed424 100644
--- a/IkiWiki/Plugin/img.pm
+++ b/IkiWiki/Plugin/img.pm
@@ -101,7 +101,7 @@ sub preprocess (@) { #{{{
'" height="'.$im->Get("height").'"'.
(exists $params{class} ? ' class="'.$params{class}.'"' : '').
(exists $params{id} ? ' id="'.$params{id}.'"' : '').
- ' />';
+ '>';
} #}}}
1
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 08e1f2769..77932f60d 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -233,7 +233,7 @@ sub preprocess_inline (@) { #{{{
writefile($rssp, $config{destdir},
genfeed("rss", $rssurl, $desc, $params{page}, @list));
$toping{$params{page}}=1 unless $config{rebuild};
- $feedlinks{$params{destpage}}=qq{};
+ $feedlinks{$params{destpage}}=qq{};
}
if ($atom) {
my $atomp=atompage($params{page});
@@ -241,7 +241,7 @@ sub preprocess_inline (@) { #{{{
writefile($atomp, $config{destdir},
genfeed("atom", $atomurl, $desc, $params{page}, @list));
$toping{$params{page}}=1 unless $config{rebuild};
- $feedlinks{$params{destpage}}=qq{};
+ $feedlinks{$params{destpage}}=qq{};
}
}
diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm
index ca8898679..e747ac968 100644
--- a/IkiWiki/Plugin/mdwn.pm
+++ b/IkiWiki/Plugin/mdwn.pm
@@ -26,16 +26,19 @@ sub htmlize (@) { #{{{
eval q{use Markdown};
if (! $@) {
$markdown_sub=\&Markdown::Markdown;
+ $Markdown::g_empty_element_suffix=">"; # HTML output
}
else {
eval q{use Text::Markdown};
if (! $@) {
$markdown_sub=\&Text::Markdown::Markdown;
+ $Text::Markdown::g_empty_element_suffix=">"; # HTML output
}
else {
do "/usr/bin/markdown" ||
error(sprintf(gettext("failed to load Markdown.pm perl module (%s) or /usr/bin/markdown (%s)"), $@, $!));
$markdown_sub=\&Markdown::Markdown;
+ $Markdown::g_empty_element_suffix=">"; # HTML output
}
}
require Encode;
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 184146cfe..731d9da76 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -57,7 +57,7 @@ sub preprocess (@) { #{{{
if (%params) {
$meta{$page}.=scrub("\n");
+ ">\n");
}
else {
# hidden WikiLink
@@ -69,7 +69,7 @@ sub preprocess (@) { #{{{
}
elsif ($key eq 'permalink') {
$permalink{$page}=$value;
- $meta{$page}.=scrub("\n");
+ $meta{$page}.=scrub("\n");
}
elsif ($key eq 'date') {
eval q{use Date::Parse};
@@ -90,19 +90,19 @@ sub preprocess (@) { #{{{
$meta{$page}.='\n";
+ "\" style=\"text/css\">\n";
}
elsif ($key eq 'openid') {
if (exists $params{server}) {
$meta{$page}.='\n";
+ "\" rel=\"openid.server\">\n";
}
$meta{$page}.='\n";
+ "\" rel=\"openid.delegate\">\n";
}
else {
$meta{$page}.=scrub("\n");
+ "\" content=\"".encode_entities($value)."\">\n");
if ($key eq 'author') {
$author{$page}=$value;
}
diff --git a/IkiWiki/Plugin/poll.pm b/IkiWiki/Plugin/poll.pm
index 63c93c62d..b0682669e 100644
--- a/IkiWiki/Plugin/poll.pm
+++ b/IkiWiki/Plugin/poll.pm
@@ -57,13 +57,13 @@ sub preprocess (@) { #{{{
$ret.="$choice ($choices{$choice})\n";
}
if ($open && exists $config{cgiurl}) {
- $ret.="\n";
- $ret.="\n";
- $ret.="\n";
- $ret.="\n";
- $ret.="\n";
+ $ret.="\n";
+ $ret.="\n";
+ $ret.="\n";
+ $ret.="\n";
+ $ret.="\n";
}
- $ret.="
-
+
Posted
+
+
-
+Optional comment about this change:
+
+
+
@@ -39,7 +39,7 @@
+
diff --git a/templates/searchform.tmpl b/templates/searchform.tmpl
index 7c4fdb026..d449c784e 100644
--- a/templates/searchform.tmpl
+++ b/templates/searchform.tmpl
@@ -1,7 +1,7 @@
+