Aspnetcore.docs: Missing <strong> element

Created on 17 Jan 2019  Â·  2Comments  Â·  Source: dotnet/AspNetCore.Docs

The first correction:
This line:
Func<dynamic, object> petTemplate = @<p>You have a pet named @item.Name.</p>;
should become:
Func<dynamic, object> petTemplate = @<p>You have a pet named <strong>@item.Name</strong>.</p>;

this is in order to match the output which contains the <strong> tags.

The second correction:
This line:
@petTemplate2(pet)

should become:
@petTemplate(pet)

because petTemplate2( ) function does not exist in the context.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Good first issue Help wanted P2 Source - Docs.ms

Most helpful comment

Hi @Rick-Anderson , sure, I will do it. Thanks.

All 2 comments

@shadinamrouti thanks for the report. Would you be able to create a PR to fix these issues?

Hi @Rick-Anderson , sure, I will do it. Thanks.

Was this page helpful?
0 / 5 - 0 ratings