]> sipb.mit.edu Git - ikiwiki.git/commitdiff
escape html from commit logs
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 15 Mar 2006 06:03:03 +0000 (06:03 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 15 Mar 2006 06:03:03 +0000 (06:03 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index dd417780096502b756e2d15b7026828edc413941..1361b5b67c2886000fcc5da81a4c2da74d42ec0f 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -525,7 +525,7 @@ sub rcs_recentchanges ($) { #{{{
                                @pages=@message=();
                        }
                        elsif ($state eq 'body') {
-                               push @message, {line => $_},
+                               push @message, {line => escapeHTML($_)},
                        }
                }
        }