Revert unnecessary change
This commit is contained in:
parent
41b7d90ea8
commit
47228dd822
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue