Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Rename TagHelperContent.Append(IHtmlContent) overload to be TagHelperContent.AppendHtml(IHtmlContent) #634

@NTaylorMullen

Description

@NTaylorMullen

@DamianEdwards and I discussed the current implementation of TagHelperContent.Append(IHtmlContent htmlContent) and felt that it makes more sense to append an IHtmlContent via an AppendHtml method rather than an overload to Append. In TagHelperContents case we already have an AppendHtml helper method that wraps strings to ensure they aren't encoded. We should just overload its existing AppendHtml to take an IHtmlContent and remove the current Append(IHtmlContent) overload.

It's already decently confusing when determining how to append encoded/unencoded content. This would help make it clearer since IHtmlContent is HTML.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions