Commits

Walter Dörwald committed b1c0bf1

Forward port the fix in 1.5.5.

Prepare for a new release.

Comments (0)

Files changed (4)

 <?xml version='1.0' encoding='iso-8859-1'?>
+<section><title>Changes in 2.0.5 (released 11/11/2002)</title>
+<ulist>
+<item>Fixed a bug in <class>ll.xist.ns.specials.autoimg</class>:
+Attributes were not converted because the size check was done
+(this is the same fix as in 1.5.5).</item>
+</ulist>
+</section>
+
 <section><title>Changes in 2.0.4 (released 11/08/2002)</title>
 <ulist>
 <item>Fixed a regression bug in <class>ll.xist.ns.jsp.directive</class>
 </ulist>
 </section>
 
+<section><title>Changes in 1.5.5 (released 11/11/2002)</title>
+<ulist>
+<item>Fixed a bug in <class>ll.xist.ns.specials.autoimg</class>:
+Attributes were not converted because the size check was done.</item>
+</ulist>
+</section>
+
 <section><title>Changes in 1.5.4 (released 09/30/2002)</title>
 <ulist>
 <item><filename>xscmake.py</filename> now tries to strip off
-XIST v2.0.4
+XIST v2.0.5
 
 XIST is an XML-based HTML generator written in Python.
 

_xist/ns/htmlspecials.py

 	"""
 	def convert(self, converter):
 		if converter.target=="ihtml":
-			e = ihtml.img(self.attrs)
+			e = ihtml.img(self.attrs.convert(converter))
 		else:
-			e = html.img(self.attrs)
+			e = html.img(self.attrs.convert(converter))
 		e._addImageSizeAttributes(converter.root, "src", "width", "height")
 		return e.convert(converter)
 
 
 setup(
 	name="XIST",
-	version="2.0.4",
+	version="2.0.5",
 	description="An XML-based extensible HTML generator",
 	long_description="XIST is an XML based extensible HTML generator. XIST is also\n"
 		"a DOM parser (built on top of SAX2) with a very simple and pythonesque tree API.\n"