aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Rcs/bzr.pm3
-rw-r--r--IkiWiki/Rcs/mercurial.pm3
-rw-r--r--IkiWiki/Rcs/tla.pm2
-rw-r--r--debian/changelog3
4 files changed, 4 insertions, 7 deletions
diff --git a/IkiWiki/Rcs/bzr.pm b/IkiWiki/Rcs/bzr.pm
index a04bfe1cb..526036bf3 100644
--- a/IkiWiki/Rcs/bzr.pm
+++ b/IkiWiki/Rcs/bzr.pm
@@ -92,9 +92,6 @@ sub rcs_add ($) { # {{{
sub rcs_recentchanges ($) { #{{{
my ($num) = @_;
- eval q{use CGI 'escapeHTML'};
- error($@) if $@;
-
my @cmdline = ("bzr", "log", "-v", "--show-ids", "--limit", $num,
$config{srcdir});
open (my $out, "@cmdline |");
diff --git a/IkiWiki/Rcs/mercurial.pm b/IkiWiki/Rcs/mercurial.pm
index db6a396ac..8b1f2c6a1 100644
--- a/IkiWiki/Rcs/mercurial.pm
+++ b/IkiWiki/Rcs/mercurial.pm
@@ -104,9 +104,6 @@ sub rcs_add ($) { # {{{
sub rcs_recentchanges ($) { #{{{
my ($num) = @_;
- eval q{use CGI 'escapeHTML'};
- error($@) if $@;
-
my @cmdline = ("hg", "-R", $config{srcdir}, "log", "-v", "-l", $num,
"--style", "default");
open (my $out, "@cmdline |");
diff --git a/IkiWiki/Rcs/tla.pm b/IkiWiki/Rcs/tla.pm
index ecc561bde..231496445 100644
--- a/IkiWiki/Rcs/tla.pm
+++ b/IkiWiki/Rcs/tla.pm
@@ -132,7 +132,7 @@ sub rcs_recentchanges ($) {
}
my @message;
- push @message, { line => escapeHTML($summ) };
+ push @message, { line => $summ };
my @pages;
diff --git a/debian/changelog b/debian/changelog
index 02de6fbbb..0736146d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,9 @@ ikiwiki (2.40) UNRELEASED; urgency=low
Instead, don't redirect and let conflict handling resolve it.
* monotone: Add code to default mergerc file to run
_MTN/ikiwiki-netsync-hook when a commit is merged in from the net.
+ * tla: Remove call to escapeHTML when constructing recentchanges message;
+ the html is escaped at a different level. Closes: #466495
+ * bzr, mercurial: Remove unused import of escapeHTML.
-- Josh Triplett <josh@freedesktop.org> Sun, 10 Feb 2008 13:18:58 -0800