Bug 246419 - Bookmarks file converts ' to ' in bookmark title. Patch by BenB and Bill Mason. r=mconnor.

git-svn-id: svn://10.0.0.236/trunk@158269 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jruderman%hmc.edu
2004-06-21 22:02:35 +00:00
parent a84cf7e0ea
commit cef27120a5

View File

@@ -970,6 +970,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;
}