Revert unnecessary change

This commit is contained in:
Artak Mkrtchyan 2018-02-12 22:14:01 -08:00
parent 41b7d90ea8
commit 47228dd822
No known key found for this signature in database
GPG Key ID: 64D580ACBA8CA645
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy
private void ValidateParentAllowsContent(Span child, ErrorSink errorSink)
{
if (child.Kind == SpanKindInternal.Comment || HasAllowedChildren())
if (HasAllowedChildren())
{
var content = child.Content;
if (!string.IsNullOrWhiteSpace(content))