aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen/lv2specgen.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-24 19:38:46 -0400
committerDavid Robillard <d@drobilla.net>2016-08-24 19:38:46 -0400
commitd25f3ab7db20dcc9ce4d10bc96dfc53b85c3c67a (patch)
tree74288fb13de021812bb0cc63e4d868bb40473a28 /lv2specgen/lv2specgen.py
parent02480a60543bf9e90c87e6448138fac1dd19e34b (diff)
downloadlv2-d25f3ab7db20dcc9ce4d10bc96dfc53b85c3c67a.tar.xz
Fix HTML in title of documentation pages
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 0aea05b..0a77b78 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1222,9 +1222,11 @@ def specgen(specloc, indir, style_uri, docdir, tags, opts, instances=False, root
termlist += docTerms('Instance', instalist, m, classlist, proplist, instalist)
name = specProperty(m, spec, doap.name)
+ title = name
if root_link:
name = '<a href="%s">%s</a>' % (root_link, name)
+ template = template.replace('@TITLE@', title)
template = template.replace('@NAME@', name)
template = template.replace('@SHORT_DESC@', specProperty(m, spec, doap.shortdesc))
template = template.replace('@URI@', spec)