diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 14:10:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 14:10:50 +0000 |
commit | 76876fad095ddfe69a258f10fd7d7fe915e828ea (patch) | |
tree | 973dcf20ec97dd3a758d0687557ec7bece1ca468 | |
parent | 2a003020dc3b094df7eaa9b2f2cde53e97516fa8 (diff) | |
download | lv2-76876fad095ddfe69a258f10fd7d7fe915e828ea.tar.xz |
Wrap rdfs:comment documentation in <p> tags to match the layour of lv2:documentation.
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index e403f04..778eb84 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -329,7 +329,7 @@ def getComment(m, urinode, classlist, proplist, instalist): c = findOne(m, urinode, rdfs.comment, None) if c: text = getLiteralString(getObject(c)) - return xml.sax.saxutils.escape(text) + return '<p>%s</p>' % xml.sax.saxutils.escape(text) return '' |