From d25f3ab7db20dcc9ce4d10bc96dfc53b85c3c67a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 24 Aug 2016 19:38:46 -0400 Subject: Fix HTML in title of documentation pages --- lv2specgen/lv2specgen.py | 2 ++ lv2specgen/template.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lv2specgen') 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 = '%s' % (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) diff --git a/lv2specgen/template.html b/lv2specgen/template.html index fb79c31..5056aef 100644 --- a/lv2specgen/template.html +++ b/lv2specgen/template.html @@ -10,7 +10,7 @@ @XMLNS@ xml:lang="en"> - @NAME@ + @TITLE@ -- cgit v1.2.1