Bug 110644 - Single quotes not displayed correctly in "raw HTML code"
Summary: Single quotes not displayed correctly in "raw HTML code"
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 18:52 UTC by bert
Modified: 2012-07-21 14:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bert 2005-08-12 18:52:39 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When an e-mail message is in HTML and kmail displays the raw HTML code, it doesn't actually display the same thing as in the "view source" command. In particular, in the "raw HTML code," all occurrences of ' (single quote) are replaced by "&aps".

The problem is that "&aps" is only a correct entity reference if it isn't followed by another letter. But often it is, resulting in lines that look like

    ... doesn&apst...

instead of "doesn't' or "doesn&aps;t" The entity &apst is not valid in HTML and leads to errors when that "raw HTML code" is used in another application.
Comment 1 Björn Ruberg 2009-12-21 21:21:13 UTC
What do you want to have changed?
Comment 2 bert 2009-12-21 23:53:01 UTC
On 21/12/09 21:21, Björn Ruberg  wrote:
> https://bugs.kde.org/show_bug.cgi?id=110644
> 
> 
> Björn Ruberg <bjoern@ruberg-wegener.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |bjoern@ruberg-wegener.de
> 
> 
> 
> 
> --- Comment #1 from Björn Ruberg <bjoern ruberg-wegener de>  2009-12-21 21:21:13 ---
> What do you want to have changed?

Best is that kmail does what it says and indeed shows the raw HTML code,
i.e., a single quote (') is shown as a single quote. If that is
impossible for some reason, then at least it should show a correct
entity, either "&apos;" or "&#39;" including the "o" and the final ";".



Bert
Comment 3 Martin Koller 2012-07-21 14:50:41 UTC
KDE/4.9 kmail 2 shows: "I didn&aps;t want" for the text "I didn't want"