Change to make html_quote not quote the ampersand in nbsp

Yep, brute force *and* ugly, but it appears to be the simplest way
to get the behaviour without working up a complex quote routine.
bug 272608, r=cls


git-svn-id: svn://10.0.0.236/trunk@247702 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bear%code-bear.com 2008-03-12 23:48:04 +00:00
parent 1177324343
commit 4a4a4b7b54

View File

@ -1287,6 +1287,7 @@ sub html_quote {
$var =~ s/</\&lt;/g;
$var =~ s/>/\&gt;/g;
$var =~ s/\@/\&#64;/g;
$var =~ s/\&amp;nbsp;/\&nbsp;/g;
return $var;
}