Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smcvpostcomment: use better names for special comment files
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
recentchangesdiff.pm
diff --git
a/IkiWiki/Plugin/recentchangesdiff.pm
b/IkiWiki/Plugin/recentchangesdiff.pm
index bc793bada98ab9867ebf59fd8f2a153c61741d71..08cec3f5a2f0a526482cca2e5d3e5c04b72d75ee 100644
(file)
--- a/
IkiWiki/Plugin/recentchangesdiff.pm
+++ b/
IkiWiki/Plugin/recentchangesdiff.pm
@@
-39,6
+39,8
@@
sub pagetemplate (@) { #{{{
else {
$diff=join("", @lines);
}
+ # escape html
+ $diff = encode_entities($diff);
# escape links and preprocessor stuff
$diff = encode_entities($diff, '\[\]');
$template->param(diff => $diff);