Permalink
Browse files

escape HTML::TreeBuilder bugs(?) when HTML comments contain multibyte…

… strings.
  • Loading branch information...
1 parent beefd86 commit 495a8fd1a947751f52aedabbbedf446b17cc2206 @Songmu Songmu committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Moxy/Plugin/OpenSocial.pm
View
2 lib/Moxy/Plugin/OpenSocial.pm
@@ -94,7 +94,7 @@ sub response_filter :Hook {
$tree->implicit_tags(0);
$tree->no_space_compacting(1);
$tree->ignore_ignorable_whitespace(0);
- $tree->store_comments(1);
+ #$tree->store_comments(1);
$tree->ignore_unknown(0);
$tree->parse_content($res->decoded_content);

0 comments on commit 495a8fd

Please sign in to comment.