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

Bug+Fix for user-defined inline tags and inline propagation

From: Randy Waki <rwaki@flipdog.com>
Date: Thu, 21 Dec 2000 18:38:31 -0700
To: <dsr@w3.org>, <html-tidy@w3.org>
Message-ID: <001f01c06bb7$e443f520$b665a8c0@rwaki>
4-Aug-2000 Tidy creates duplicates of enclosing inline emphasis tags
inside of user-defined inline tags.  This isn't what we were expecting.
I thought it was just us, but apparently not:


I had changed our internal copy of Tidy to suppress the "extra" inline
emphasis tags.  Now that I realize it's not just us, I'd like to ask
Dave to consider incorporating this change into the mainline Tidy.  I
don't know if there are instances where the inline emphasis propagation
is desirable, but at least now we have three instances where it is

NOTE: This change requires the CM_MIXED bug fix I recently submitted:


Assuming that bug fix is in place, the following change suppresses the
"extra" inline emphasis tags:

--- tags.c	Fri Jul 07 17:55:14 2000
+++ \temp\tags.c	Thu Dec 21 16:11:58 2000
@@ -323,7 +323,7 @@
 void DefineInlineTag(char *name)
-    install(name, VERS_PROPRIETARY, (CM_INLINE|CM_NO_INDENT|CM_NEW), ParseBlock, null);
+    install(name, VERS_PROPRIETARY, (CM_INLINE|CM_NO_INDENT|CM_NEW|CM_MIXED), ParseBlock, null);
 void DefineBlockTag(char *name)
Received on Thursday, 21 December 2000 20:40:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC