HtmlViewer icon indicating copy to clipboard operation
HtmlViewer copied to clipboard

CData breaks loading?

Open petko opened this issue 5 years ago • 0 comments

Hi, I have the following web page that does not load in HtmlViewer:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Title</title>

<style>
<![CDATA[
.body { margin:0; }
]]>
</style>
</head>
<body>
<h1>Heading 1</h1>
</body>
</html>

If I remove the CDATA start and end lines, it will load properly.

The same text worked fine in HtmlViewer version 11.8.

petko avatar May 04 '20 09:05 petko