fix for shortened tags

This commit is contained in:
Chris PeBenito 2005-06-23 16:06:25 +00:00
parent 261e0e66ee
commit 7c2b84e7a1

View File

@ -225,7 +225,7 @@ def gen_docs(doc, dir, templatedir):
for desc in node.getElementsByTagName("summary"): for desc in node.getElementsByTagName("summary"):
if desc.parentNode == node: if desc.parentNode == node:
mod_summary = format_html_desc(desc) mod_summary = format_html_desc(desc)
for desc in node.getElementsByTagName("description"): for desc in node.getElementsByTagName("desc"):
if desc.parentNode == node: if desc.parentNode == node:
mod_desc = format_html_desc(desc) mod_desc = format_html_desc(desc)
@ -235,15 +235,15 @@ def gen_docs(doc, dir, templatedir):
interface_desc = interface_secdesc = interface_summary = None interface_desc = interface_secdesc = interface_summary = None
for i,v in interface.attributes.items(): for i,v in interface.attributes.items():
interface_name = v interface_name = v
for desc in interface.getElementsByTagName("description"): for desc in interface.getElementsByTagName("desc"):
interface_desc = format_html_desc(desc) interface_desc = format_html_desc(desc)
for desc in interface.getElementsByTagName("securitydesc"): for desc in interface.getElementsByTagName("secdesc"):
if desc: if desc:
interface_secdesc = format_html_desc(desc) interface_secdesc = format_html_desc(desc)
for desc in interface.getElementsByTagName("summary"): for desc in interface.getElementsByTagName("summary"):
interface_summary = format_html_desc(desc) interface_summary = format_html_desc(desc)
for args in interface.getElementsByTagName("parameter"): for args in interface.getElementsByTagName("param"):
paramdesc = args.firstChild.data paramdesc = args.firstChild.data
paramname = None paramname = None
paramopt = "No" paramopt = "No"