tidy-html5/test/testbase/out_978947.html

23 lines
706 B
HTML
Raw Normal View History

2015-05-13 11:38:40 +00:00
<!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<74>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>