fix HtmlBlock codegen (#1209)

This commit is contained in:
uazo 2018-08-09 02:46:37 +02:00 committed by Ryan Nowak
parent 78045b2177
commit 7d92c07fba
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,8 @@ namespace Microsoft.AspNetCore.Blazor.Razor
throw new ArgumentNullException(nameof(node));
}
_scopeStack.IncrementCurrentScopeChildCount(context);
context.CodeWriter
.WriteStartMethodInvocation($"{_scopeStack.BuilderVarName}.{nameof(BlazorApi.RenderTreeBuilder.AddMarkupContent)}")
.Write((_sourceSequence++).ToString())