Skip to content

Commit

Permalink
Escaped some quotes so that emacs' syntax highlighting stops doing the
Browse files Browse the repository at this point in the history
wrong thing.
  • Loading branch information
rcaputo committed May 9, 2002
1 parent aabd166 commit a0dc668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/Util/Web.pm
Expand Up @@ -66,9 +66,9 @@ sub html_encode {
$data =~ s{&}{&}gso;
$data =~ s{<}{&lt;}gso;
$data =~ s{>}{&gt;}gso;
$data =~ s{"}{&quot;}gso;
$data =~ s{\"}{&quot;}gso;
# XXX: these bits are necessary for Latin charsets only, which is us.
$data =~ s{'}{&#39;}gso;
$data =~ s{\'}{&#39;}gso;
$data =~ s{\x8b}{&#139;}gso;
$data =~ s{\x9b}{&#155;}gso;
return $data;
Expand Down

0 comments on commit a0dc668

Please sign in to comment.