Update < and > in error messages to not be double encoded.
This commit is contained in:
parent
392b7a3710
commit
7c1f18c0a4
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ namespace Microsoft.AspNet.Razor.Runtime
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invalid tag helper directive '{0}' value. '{1} is not allowed in prefix '{2}'.
|
||||
/// Invalid tag helper directive '{0}' value. '{1}' is not allowed in prefix '{2}'.
|
||||
/// </summary>
|
||||
internal static string TagHelperDescriptorResolver_InvalidTagHelperPrefixValue
|
||||
{
|
||||
|
|
@ -163,7 +163,7 @@ namespace Microsoft.AspNet.Razor.Runtime
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invalid tag helper directive '{0}' value. '{1} is not allowed in prefix '{2}'.
|
||||
/// Invalid tag helper directive '{0}' value. '{1}' is not allowed in prefix '{2}'.
|
||||
/// </summary>
|
||||
internal static string FormatTagHelperDescriptorResolver_InvalidTagHelperPrefixValue(object p0, object p1, object p2)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1499,7 +1499,7 @@ namespace Microsoft.AspNet.Razor
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Found an end tag (&lt;/{0}&gt;) for tag helper '{1}' with tag structure that disallows an end tag ('{2}').
|
||||
/// Found an end tag (</{0}>) for tag helper '{1}' with tag structure that disallows an end tag ('{2}').
|
||||
/// </summary>
|
||||
internal static string TagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag
|
||||
{
|
||||
|
|
@ -1507,7 +1507,7 @@ namespace Microsoft.AspNet.Razor
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Found an end tag (&lt;/{0}&gt;) for tag helper '{1}' with tag structure that disallows an end tag ('{2}').
|
||||
/// Found an end tag (</{0}>) for tag helper '{1}' with tag structure that disallows an end tag ('{2}').
|
||||
/// </summary>
|
||||
internal static string FormatTagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag(object p0, object p1, object p2)
|
||||
{
|
||||
|
|
@ -1515,7 +1515,7 @@ namespace Microsoft.AspNet.Razor
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// The parent &lt;{0}&gt; tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed.
|
||||
/// The parent <{0}> tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed.
|
||||
/// </summary>
|
||||
internal static string TagHelperParseTreeRewriter_CannotHaveNonTagContent
|
||||
{
|
||||
|
|
@ -1523,7 +1523,7 @@ namespace Microsoft.AspNet.Razor
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// The parent &lt;{0}&gt; tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed.
|
||||
/// The parent <{0}> tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed.
|
||||
/// </summary>
|
||||
internal static string FormatTagHelperParseTreeRewriter_CannotHaveNonTagContent(object p0, object p1)
|
||||
{
|
||||
|
|
@ -1531,7 +1531,7 @@ namespace Microsoft.AspNet.Razor
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// The &lt;{0}&gt; tag is not allowed by parent &lt;{1}&gt; tag helper. Only child tag helper(s) targeting tag name(s) '{2}' are allowed.
|
||||
/// The <{0}> tag is not allowed by parent <{1}> tag helper. Only child tag helper(s) targeting tag name(s) '{2}' are allowed.
|
||||
/// </summary>
|
||||
internal static string TagHelperParseTreeRewriter_InvalidNestedTag
|
||||
{
|
||||
|
|
@ -1539,7 +1539,7 @@ namespace Microsoft.AspNet.Razor
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// The &lt;{0}&gt; tag is not allowed by parent &lt;{1}&gt; tag helper. Only child tag helper(s) targeting tag name(s) '{2}' are allowed.
|
||||
/// The <{0}> tag is not allowed by parent <{1}> tag helper. Only child tag helper(s) targeting tag name(s) '{2}' are allowed.
|
||||
/// </summary>
|
||||
internal static string FormatTagHelperParseTreeRewriter_InvalidNestedTag(object p0, object p1, object p2)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -417,12 +417,12 @@ Instead, wrap the contents of the block in "{{}}":
|
|||
<value>Tag helpers '{0}' and '{1}' targeting element '{2}' must not expect different {3} values.</value>
|
||||
</data>
|
||||
<data name="TagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag" xml:space="preserve">
|
||||
<value>Found an end tag (&lt;/{0}&gt;) for tag helper '{1}' with tag structure that disallows an end tag ('{2}').</value>
|
||||
<value>Found an end tag (</{0}>) for tag helper '{1}' with tag structure that disallows an end tag ('{2}').</value>
|
||||
</data>
|
||||
<data name="TagHelperParseTreeRewriter_CannotHaveNonTagContent" xml:space="preserve">
|
||||
<value>The parent &lt;{0}&gt; tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed.</value>
|
||||
<value>The parent <{0}> tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed.</value>
|
||||
</data>
|
||||
<data name="TagHelperParseTreeRewriter_InvalidNestedTag" xml:space="preserve">
|
||||
<value>The &lt;{0}&gt; tag is not allowed by parent &lt;{1}&gt; tag helper. Only child tag helper(s) targeting tag name(s) '{2}' are allowed.</value>
|
||||
<value>The <{0}> tag is not allowed by parent <{1}> tag helper. Only child tag helper(s) targeting tag name(s) '{2}' are allowed.</value>
|
||||
</data>
|
||||
</root>
|
||||
Loading…
Reference in New Issue