diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-09-04 04:29:18 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-09-04 04:29:18 +0000 |
commit | b6075d61632adb1ec43fb5572db0521bbac9d1ac (patch) | |
tree | 8d1c2404698a107bc26a5dca2921f741326b4bb5 /IkiWiki/Rcs | |
parent | 7e02c4fe4c646b4d198723844e575f199a8963d7 (diff) |
move html escaping
Diffstat (limited to 'IkiWiki/Rcs')
-rw-r--r-- | IkiWiki/Rcs/git.pm | 3 | ||||
-rw-r--r-- | IkiWiki/Rcs/svn.pm | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index a156f0b4e..dc8b6b9fe 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -343,7 +343,6 @@ sub rcs_recentchanges ($) { #{{{ my ($num) = @_; - eval q{use CGI 'escapeHTML'}; eval q{use Date::Parse}; my ($sha1, $type, $when, $diffurl, $user, @pages, @message, @rets); @@ -372,7 +371,7 @@ sub rcs_recentchanges ($) { #{{{ }, } - push @message, { line => escapeHTML($title) }; + push @message, { line => $title }; if (defined $message[0] && $message[0]->{line} =~ m/$web_commit_msg/) { diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm index e4fe2807d..2bc30206b 100644 --- a/IkiWiki/Rcs/svn.pm +++ b/IkiWiki/Rcs/svn.pm @@ -123,7 +123,6 @@ sub rcs_recentchanges ($) { #{{{ return unless -d "$config{srcdir}/.svn"; - eval q{use CGI 'escapeHTML'}; eval q{use Date::Parse}; eval q{use Time::Duration}; eval q{use XML::SAX}; @@ -156,7 +155,7 @@ sub rcs_recentchanges ($) { #{{{ my $when=time - str2time($logentry->{date}, 'UTC'); foreach my $msgline (split(/\n/, $logentry->{msg})) { - push @message, { line => escapeHTML($msgline) }; + push @message, { line => $msgline }; } my $committype="web"; |