Bug 245758: Make bookmarks' internal unescaper match nsEscapeHTML, unescaping ' pr
r=Neil Rashbrook, sr=jst git-svn-id: svn://10.0.0.236/trunk@235877 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -971,6 +971,11 @@ BookmarkParser::Unescape(nsString &text)
|
||||
text.Cut(offset, 6);
|
||||
text.Insert(PRUnichar('\"'), offset);
|
||||
}
|
||||
else if (Substring(text, offset, 5).Equals(NS_LITERAL_STRING("'")))
|
||||
{
|
||||
text.Cut(offset, 5);
|
||||
text.Insert(PRUnichar('\''), offset);
|
||||
}
|
||||
|
||||
++offset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user