<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] HTML special symbol &copy; doubled in render output after refresh"
href="https://bugs.webkit.org/show_bug.cgi?id=160771">bug 160771</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>clopez@igalia.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] HTML special symbol &copy; doubled in render output after refresh"
href="https://bugs.webkit.org/show_bug.cgi?id=160771#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] HTML special symbol &copy; doubled in render output after refresh"
href="https://bugs.webkit.org/show_bug.cgi?id=160771">bug 160771</a>
from <span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
<pre>I tried loading your testcase on a standard apache webserver but I got this error:
PHP Parse error: syntax error, unexpected 'version' (T_STRING) in xhtmlent.php on line 3, referer: <a href="https://people.igalia.com/clopez/wkbug/160771/">https://people.igalia.com/clopez/wkbug/160771/</a>
I fixed it like this:
$ cat xhtmlent.php
<?php
header('Content-Type: application/xhtml+xml; charset=ISO-8859-1');
echo '<?xml version="1.0" ?>';
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>">';
echo '<html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>" xml:lang="de" lang="de" dir="ltr"><head><title>test</title></head><body>&copy;</body></html>';
?>
And uploaded it to here: <a href="https://people.igalia.com/clopez/wkbug/160771/xhtmlent.php">https://people.igalia.com/clopez/wkbug/160771/xhtmlent.php</a>
I tried refreshing several times with epiphany (2.12) and the minibrowser (trunk) and I'm not able to reproduce the issue. I only see a (c) symbol.
Are you able to reproduce it on the page I uploaded ?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>