aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 14:10:50 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 14:10:50 +0000
commit76876fad095ddfe69a258f10fd7d7fe915e828ea (patch)
tree973dcf20ec97dd3a758d0687557ec7bece1ca468
parent2a003020dc3b094df7eaa9b2f2cde53e97516fa8 (diff)
downloadlv2-76876fad095ddfe69a258f10fd7d7fe915e828ea.tar.xz
Wrap rdfs:comment documentation in <p> tags to match the layour of lv2:documentation.
-rwxr-xr-xlv2specgen/lv2specgen.py2
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 ''