tidy-html5/test/testbase/out_978947.html
2015-05-13 13:38:40 +02:00

23 lines
706 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=iso-8859-1">
<meta name="AUTHOR"
content="Christian Engström">
<title>Bug: &amp;nbsp; disappears after &lt;/pre&gt;</title>
</head>
<body lang="en-US">
Here the non-breaking spaces (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
remain.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Works multiple times
(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) as well.<br>
But&nbsp;.&nbsp;.&nbsp;.&nbsp;&nbsp;:</p>
<pre>
A block of
preformatted text.
</pre>Now the non-breaking spaces (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
are replaced with ordinary spaces, and disappear.
</body>
</html>