You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use google-code-prettify as my syntax highlighter, but i have a problem with
asp.net tags, prettify doesn't recognize it, so code like this:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Button ID="SubmitButton"
runat="server"
Text="partial postback"
onclick="SubmitButton_Click" />
<a href="#" id="clientClick"><span>jQuery</span></a>
</ContentTemplate>
</asp:UpdatePanel>
is ignored.
I can see that prettify is working because i see the css style applied to the
pre tag, but it seems that it is unable to recognize the asp.net tags, the only
thing i see is the button, but as regular button, not as code snippet.
Original issue reported on code.google.com by [email protected] on 14 Aug 2011 at 3:47
The text was updated successfully, but these errors were encountered:
I see the attached. Is that similar to what you see? If so, could you be more
specific about what is wrong?
I used the HTML
<pre class="prettyprint lang-html" id="asptags">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Button ID="SubmitButton"
runat="server"
Text="partial postback"
onclick="SubmitButton_Click" />
<a href="#" id="clientClick"><span>jQuery</span></a>
</ContentTemplate>
</asp:UpdatePanel>
</asp:ScriptManager>
</pre>
Original issue reported on code.google.com by
[email protected]
on 14 Aug 2011 at 3:47The text was updated successfully, but these errors were encountered: