Changeset 2128

Show
Ignore:
Timestamp:
06/16/09 22:17:13 (9 months ago)
Author:
drobilla
Message:

Fix invalid output.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lv2specgen/lv2specgen.py

    r2127 r2128  
    283283                comment = p.object 
    284284        if onProp != None: 
    285             doc += '<div class="restriction"><dt>Restriction on property %s</dt><dd>' % getTermLink(onProp.uri) 
     285            doc += '<dt>Restriction on property %s</dt><dd class="restriction">' % getTermLink(onProp.uri) 
    286286            if comment != None: 
    287287                doc += "<p>%s</p>\n" % comment 
     
    292292                        p.predicate == rdf.type and p.object == owl.Restriction): 
    293293                    doc += "<dt>%s</dt><dd>%s</dd>" % (getTermLink(p.predicate.uri), getTermLink(p.object.uri)) 
    294             doc += "</dl></dd></div>" 
     294            doc += "</dl></dd>" 
    295295 
    296296    # Find out about properties which have rdfs:domain of t