[Lxml-checkins] r47958 - in lxml/trunk: . src/lxml/html

ianb at codespeak.net ianb at codespeak.net
Thu Oct 25 18:26:49 CEST 2007


Author: ianb
Date: Thu Oct 25 18:26:48 2007
New Revision: 47958

Modified:
   lxml/trunk/CHANGES.txt
   lxml/trunk/src/lxml/html/defs.py
Log:
Include <embed> in tags

Modified: lxml/trunk/CHANGES.txt
==============================================================================
--- lxml/trunk/CHANGES.txt	(original)
+++ lxml/trunk/CHANGES.txt	Thu Oct 25 18:26:48 2007
@@ -32,7 +32,9 @@
 
 * In the ``lxml.html`` ``iter_links`` method, links in ``<object>``
   tags weren't recognized.  (Note: plugin-specific link parameters
-  still aren't recognized.)
+  still aren't recognized.)  Also, the ``<embed>`` tag, though not
+  standard, is now included in
+  ``lxml.html.defs.special_inline_tags``.
 
 Other changes
 -------------

Modified: lxml/trunk/src/lxml/html/defs.py
==============================================================================
--- lxml/trunk/src/lxml/html/defs.py	(original)
+++ lxml/trunk/src/lxml/html/defs.py	Thu Oct 25 18:26:48 2007
@@ -94,7 +94,7 @@
     ]
 
 special_inline_tags = [
-    'a', 'applet', 'basefont', 'bdo', 'br', 'font', 'iframe',
+    'a', 'applet', 'basefont', 'bdo', 'br', 'embed', 'font', 'iframe',
     'img', 'map', 'area', 'object', 'param', 'q', 'script',
     'span', 'sub', 'sup',
     ]


More information about the lxml-checkins mailing list