Don't eat whitespace after CM_MIXED end tags.

Fixes #20.
This commit is contained in:
Michael[tm] Smith 2012-03-29 14:00:24 +09:00
parent 1f2162553a
commit 880221e26d
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<body>
<h1 id="top">Quick Reference</h1>
<h2>HTML Tidy Configuration Options</h2>
<p>Version: <a href="https://github.com/w3c/tidy-html5/tree/f5c2739">https://github.com/w3c/tidy-html5/tree/f5c2739</a></p>
<p>Version: <a href="https://github.com/w3c/tidy-html5/tree/abc1e3f">https://github.com/w3c/tidy-html5/tree/abc1e3f</a></p>
<p>
<a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a>
<br />

View File

@ -3525,7 +3525,7 @@ void TY_(ParseBody)(TidyDocImpl* doc, Node *body, GetTokenMode mode)
if (TY_(nodeIsElement)(node))
{
if ( TY_(nodeHasCM)(node, CM_INLINE) && !TY_(nodeHasCM)(node, CM_MIXED) )
if ( TY_(nodeHasCM)(node, CM_INLINE) )
{
/* HTML4 strict doesn't allow inline content here */
/* but HTML2 does allow img elements as children of body */

View File

@ -1 +1 @@
static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/abc1e3f";
static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/1f21625";