diff --git a/src/pprint.c b/src/pprint.c index 7d011e8..20900c7 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -1027,7 +1027,7 @@ static void PPrintText( TidyDocImpl* doc, uint mode, uint indent, ix = IncrWS( ix, end, indent, ixWS ); } else if (( c == '&' ) && (TY_(HTMLVersion)(doc) == HT50) && - (((ix + 1) == end) || ((ix + 1) < end) && (isspace(doc->lexer->lexbuf[ix+1]))) ) + (((ix + 1) == end) || (((ix + 1) < end) && (isspace(doc->lexer->lexbuf[ix+1])))) ) { /*\ * Issue #207 - This is an unambiguous ampersand need not be 'quoted' in HTML5