This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 74203 - ' does not render correctly in Internet Explorer
Summary: ' does not render correctly in Internet Explorer
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 109958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-30 16:16 UTC by _ gsporar
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample source file (502 bytes, text/plain)
2006-03-30 16:19 UTC, _ gsporar
Details
sample output (3.26 KB, text/html)
2006-03-30 16:20 UTC, _ gsporar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gsporar 2006-03-30 16:16:29 UTC
When I use Print to HTML with the attached source file, I get the attached HTML
file, which uses '

Is ' legal HTML?  Firefox renders it okay, but InternetExplorer (IE) 6 does
not.  :-(  Seems unfortunate that the IDE generates HTML that can't be rendered
correctly by InternetExplorer.
Comment 1 _ gsporar 2006-03-30 16:19:37 UTC
Created attachment 29504 [details]
sample source file
Comment 2 _ gsporar 2006-03-30 16:20:10 UTC
Created attachment 29505 [details]
sample output
Comment 3 ehucka 2006-04-05 10:22:20 UTC
It seems the 'apos' is standard html/xhtml entity, see e.g.
http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent . The issue is probably on
IE's side.
Comment 4 _ ttran 2006-04-14 11:23:16 UTC
Perhaps it's IE bug.  But if we can workaround it easily, like using hexa code
for apos, then we should do it.  Not many users complain, but the cost of the
fix is low
Comment 5 Vitezslav Stejskal 2007-02-11 03:07:45 UTC
The ' is still used in a dev build.
Comment 6 Vitezslav Stejskal 2007-03-22 11:16:10 UTC
Using ' instead of '. I am not sure if the fix make any sense. IE7 can
probably handle ' correctly, plus I actually don't understand why we need
to escape apostroph and quote charactres at all. They can't do any harm when
enclosed by <span>...</span>, can they? Anyway, here's the fix.

Checking in HtmlPrintContainer.java;
/cvs/editor/src/org/netbeans/modules/editor/HtmlPrintContainer.java,v  <-- 
HtmlPrintContainer.java
new revision: 1.10; previous revision: 1.9
done
Comment 7 Jiri Prox 2007-07-17 10:38:27 UTC
*** Issue 109958 has been marked as a duplicate of this issue. ***