Bug 46962

Summary: Mozilla imported bookmarks with quotes in title are displayed wrong
Product: [Applications] keditbookmarks Reporter: Unknown <null>
Component: generalAssignee: Simon Hausmann <hausmann>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bugzilla Maintainers 2002-08-25 20:07:40 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           keditbookmarks
Version:           KDE 3.0.3 
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.4
OS:                Linux
OS/Compiler notes: Debian GNU/Linux 3.0

If you import a bookmark file from mozilla that has a bookmark entry with a title that has quote characters in them the title will show up in the bookmark menu in konqueror as &quot;

For an example if you have a bookmark with this title:

Ian "Hixie" Hickson's weblog

it shows up in the bookmark editor and konqueror bookmark menu as:

Ian &quot;Hixie&quot; Hickson's weblog

In other words konqueror displays the title exactly as it is stored in the bookmark file.

(Submitted via bugs.kde.org)
Comment 1 Simon Hausmann 2002-09-24 09:36:23 UTC
Subject: kdelibs/kio/bookmarks

kdelibs/kio/bookmarks kbookmarkimporter.cc,1.16,1.17 kbookmarkimporter.h,1.9,1.10
Author: hausmann


Modified Files:
         kbookmarkimporter.cc kbookmarkimporter.h
Log Message:
- wrote a method resolveEntities that does what its name says, removed the
  old QRegExp based code that replace &amp; with & and lt/gt . As 
  resolveEntities makes use of KCharsets::fromEntity now all sorts of
  entities get properly resolve when reading a mozilla/netscape bookmarks
  file. Fixes #46962 (&quot; not properly resolved) . Okayed by lypanov
CCMAIL: 46962-done@bugs.kde.org