kooloveme / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Display error page: Must ignore HTML comments in styles #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body style="HEIGHT: 94%" leftmargin="0" topmargin="0" marginheight="0" 
marginwidth="0">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">
<!--
a { text-decoration: underline; }
a:hover { text-decoration: none; }
<!-- hotmail fix -->
.ReadMsgBody { width: 100%;}    
.ExternalClass { width: 100%; } 
<!-- yahoo fix -->
.yshortcuts { color:#1687c5; }
.fineprint .yshortcuts { color:#c4c4c3; }
.button .yshortcuts { color:#fff; text-decoration:none; }
-->
</style>

</html>
<p>1</p>

</body></html>

at the opening of the service is displayed in the top of the page text.

Original issue reported on code.google.com by SchwarzK...@yandex.ru on 26 Oct 2012 at 2:07

GoogleCodeExporter commented 9 years ago
r382 fixes this issue.

Original comment by OrphanCat on 19 Apr 2013 at 5:29