Errors formatting ASP.NET tags

I've pulled the latest sources (at least I believe it to be the latest) from
CVS and built libtidy.dll as of 4-17-03 and I'm trying to use it to format
HTML that contains ASP.NET control tags without much luck.  I've tried to
use new-blocklevel-tags, new-empty-tags, new-inline-tags and new-pre-tags
without finding the right combination (if it exists).  I'm wondering if this
is an area that is simply not currently supported by HTML Tidy?

With the document below I've tried various combinations without any success.
I either get the tags inside of asp:calendar removed or various kinds of a
bogus document returned.  By that I mean that the document contains
fragments of HTML that are out of place and or complete/correct.

Often times filling in various combinations of new-* members yields an empty
document?

Any help would be most appreciated.

Thanks
-Steve

Example document (produced by vs.net but formatted by me):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
    <title>WebForm1</title>
  </HEAD>
  <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
      <asp:Calendar id="Calendar1" style=
       "Z-INDEX: 102; LEFT: 46px; POSITION: absolute; TOP: 66px"
       runat="server"
       BackColor="White"
       Width="200px"
       DayNameFormat="FirstLetter"
       ForeColor="Black"
       Height="180px"
       Font-Size="8pt"
       Font-Names="Verdana"
       BorderColor="#999999"
       CellPadding="4">
        <TodayDayStyle ForeColor="Black"
BackColor="#CCCCCC"></TodayDayStyle>
        <SelectorStyle BackColor="#CCCCCC"></SelectorStyle>
        <NextPrevStyle VerticalAlign="Bottom"></NextPrevStyle>
        <DayHeaderStyle Font-Size="7pt" Font-Bold="True"
BackColor="#CCCCCC"></DayHeaderStyle>
        <SelectedDayStyle Font-Bold="True"          ForeColor="White"
         BackColor="#666666"></SelectedDayStyle>
        <TitleStyle Font-Bold="True"
          BorderColor="Black"
          BackColor="#999999"></TitleStyle>
        <WeekendDayStyle BackColor="#FFFFCC"></WeekendDayStyle>
        <OtherMonthDayStyle ForeColor="#808080"></OtherMonthDayStyle>
      </asp:Calendar>
    </form>
  </body>
</HTML>

Received on Thursday, 17 April 2003 11:52:11 UTC