Skip to content

prettify doesn't highlight asp.net tags #166

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 ofer.web...@gmail.com on 14 Aug 2011 at 3:47

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions