Issue 80657 - Importing apostrophes from HTML fails
Summary: Importing apostrophes from HTML fails
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.2.1
Hardware: All All
: P3 Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-13 18:29 UTC by ronnystandtke
Modified: 2014-04-06 12:46 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---


Attachments
HTML file with apostrophes (229 bytes, text/html)
2007-08-13 18:30 UTC, ronnystandtke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ronnystandtke 2007-08-13 18:29:51 UTC
If a HTML file contains apostrophes (') Writer imports them verbatim 
without mapping them to real apostrophes.
I will attach a test file...
If you open this file in a browser of your choice you will see the 
string: 'test'
If you open this file in OOo Writer you will see this string: 'test'
Comment 1 ronnystandtke 2007-08-13 18:30:34 UTC
Created attachment 47515 [details]
HTML file with apostrophes
Comment 2 michael.ruess 2007-08-14 08:11:49 UTC
Reassigned to ES.
Comment 3 eric.savary 2007-08-14 08:39:34 UTC
"&apos" may be supported by many browsers it is not a valide HTML entity.

See: http://www.w3.org/TR/html4/sgml/entities.html

Please use a plain text ' or ' instead.

*** This issue has been marked as a duplicate of 9457 ***
Comment 4 eric.savary 2007-08-14 08:39:46 UTC
closed
Comment 5 ronnystandtke 2007-08-14 09:26:33 UTC
The 'apos' is a standard html/xhtml entity, see 
http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
Comment 6 eric.savary 2007-08-14 10:30:31 UTC
XHTML yes, HTML (4.0) not.

Requalifying as enhancement.

Reassigned
Comment 7 ronnystandtke 2010-05-17 13:28:15 UTC
Now using v3.2, unfortunately, I still have to manually sed many html files
before opening them with OOo because of this issue...
Comment 8 Edwin Sharp 2014-04-06 12:46:57 UTC
As given in description
AOO410m15(Build:9761)  -  Rev. 1583666
2014-04-01 13:50 - Linux x86_64
Debian