This repository was archived by the owner on Dec 19, 2018. It is now read-only.
File tree 3 files changed +7
-7
lines changed
src/Microsoft.AspNet.Razor.Runtime/TagHelpers
test/Microsoft.AspNet.Razor.Runtime.Test/TagHelpers
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,9 @@ public override TagHelperContent Append(string value)
128
128
return this ;
129
129
}
130
130
131
- public override TagHelperContent AppendEncoded ( string value )
131
+ public override TagHelperContent AppendHtml ( string value )
132
132
{
133
- Buffer . AppendEncoded ( value ) ;
133
+ Buffer . AppendHtml ( value ) ;
134
134
return this ;
135
135
}
136
136
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public TagHelperContent SetContentEncoded(string encoded)
87
87
/// </summary>
88
88
/// <param name="value">The <see cref="string"/> to be appended.</param>
89
89
/// <returns>A reference to this instance after the append operation has completed.</returns>
90
- public abstract TagHelperContent AppendEncoded ( string value ) ;
90
+ public abstract TagHelperContent AppendHtml ( string value ) ;
91
91
92
92
/// <summary>
93
93
/// Appends the specified <paramref name="format"/> to the existing content after
@@ -157,9 +157,9 @@ IHtmlContentBuilder IHtmlContentBuilder.Append(string unencoded)
157
157
}
158
158
159
159
/// <inheritdoc />
160
- IHtmlContentBuilder IHtmlContentBuilder . AppendEncoded ( string encoded )
160
+ IHtmlContentBuilder IHtmlContentBuilder . AppendHtml ( string encoded )
161
161
{
162
- return AppendEncoded ( encoded ) ;
162
+ return AppendHtml ( encoded ) ;
163
163
}
164
164
165
165
/// <inheritdoc />
Original file line number Diff line number Diff line change @@ -473,11 +473,11 @@ public void Append_WrittenAsEncoded()
473
473
}
474
474
475
475
[ Fact ]
476
- public void AppendEncoded_DoesNotGetEncoded ( )
476
+ public void AppendHtml_DoesNotGetEncoded ( )
477
477
{
478
478
// Arrange
479
479
var tagHelperContent = new DefaultTagHelperContent ( ) ;
480
- tagHelperContent . AppendEncoded ( "Hi" ) ;
480
+ tagHelperContent . AppendHtml ( "Hi" ) ;
481
481
482
482
var writer = new StringWriter ( ) ;
483
483
You can’t perform that action at this time.
0 commit comments