J
John A.
If I have a hyperlink control like this:
<asp:HyperLink ID="HyperLink1" runat="server"
Text="&'><"
ToolTip="&'><"
NavigateUrl="~/">
</asp:HyperLink>
it renders as:
<a id="HyperLink1" title="&'><" href="/">&'><</a>
Am I to understand that the Text attribute's value is never encoded, and
the ToolTip's value is encoded by default? If so, according to what
rules, since the > is not converted to >?
<asp:HyperLink ID="HyperLink1" runat="server"
Text="&'><"
ToolTip="&'><"
NavigateUrl="~/">
</asp:HyperLink>
it renders as:
<a id="HyperLink1" title="&'><" href="/">&'><</a>
Am I to understand that the Text attribute's value is never encoded, and
the ToolTip's value is encoded by default? If so, according to what
rules, since the > is not converted to >?