Commits

Michael[tm] Smith committed 83c269f

fix incorrect "Error: Attribute type not allowed on element object at this point)" problem (b=716, thx=tantek)
http://bugzilla.validator.nu/show_bug.cgi?id=716

Comments (0)

Files changed (1)

     line = line.replace("&\timg.attrs.src", "&\timg.attrs.src?")
     line = line.replace("(\tobject.attrs.data", "(\tobject.attrs.data?")
     line = line.replace("&\tobject.attrs.type?", "&\tempty")
-    line = line.replace("|\tobject.attrs.type", "|\tobject.attrs.type?")
+    line = line.replace("|\tobject.attrs.type", "&\tobject.attrs.type?")
     line = line.replace("&\tparam.attrs.name", "&\tparam.attrs.name?")
     line = line.replace("&\tparam.attrs.value", "&\tparam.attrs.value?")
     line = line.replace("&\tmap.attrs.name", "&\tmap.attrs.name?")