W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Tidy support

From: David Wier <dwier@augustwind.com>
Date: Thu, 7 Nov 2002 13:39:48 -0600
Message-ID: <004801c28695$6f6a9420$44e758aa@FNFS>
To: <html-tidy@w3.org>
I'm looking at integrating Tidy into my ASP/ASP.Net/HTML editor, ASP Express - I've created a temporary app to work with it, but I have a couple of hurdles and questions I can't seem to understand or get past.
1. I created a config file to add new tags, since I use asp.net, and custom tags (user controls) are able to be created ..... 
I've tried using all of the supplied types:
  new-inline-tags: 
  new-empty-tags: 
  new-blocklevel-tags: 
  new-pre-tags: 
And I've tried adding my tags in different ways:
aspnet101:side, <aspnet101:side, <aspnet101:side>, and the last real way the tag looks: <aspnet101:side runat="server"/>
I ALWAYS get an errror message - <aspnet101:side> is not recognized
What syntax do I use in the Config file?

Also - is there a way to set Tidy so that, it will just pass over these things and tidy-up the HTML that it can?

2. What do I need to do to get permission to use it within my applications?
3. What does "Warning: discarding unexpected <aspnet101:top>" really mean? Is it just going past it, or when I choose to save the file, will this actually be deleted from the text?
4. How can I set attributes for it to ignore? In my ASP.Net custom tags, I have things like : runat = "Server"
I then, get - Warning: unknown attribute "runat"

Thank you for your great effort in this application and any help you can give me.
David Wier
http://aspexpress.com
Home of ASP Express - the best ASP/ASP.Net text editor in the Galaxy
Received on Thursday, 7 November 2002 15:03:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC