Permalink
Browse files

only encode unsafe characters

  • Loading branch information...
1 parent 098e797 commit 536fe9a0073371734f062abc1e641e3f78e93537 @ido50 committed Jan 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Tenjin/Util.pm
View
@@ -81,7 +81,7 @@ sub _decode_params {
}
sub escape_xml {
- encode_entities($_[1]);
+ encode_entities($_[1], qq!'<>&"!);
}
sub unescape_xml {

0 comments on commit 536fe9a

Please sign in to comment.