aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorLars Luthman <lars.luthman@gmail.com>2011-03-12 08:35:41 +0000
committerLars Luthman <lars.luthman@gmail.com>2011-03-12 08:35:41 +0000
commit316e95ecd16dc296f4984f42dbc4accec5045bb9 (patch)
tree8d3a5966d803cbac2199ef71ed4db67237177ded /lv2specgen
parentb98dbcdddff0d758bfeddace5535bdcd4bce174a (diff)
downloadlv2-316e95ecd16dc296f4984f42dbc4accec5045bb9.tar.xz
Wrap <a> tags in <span> tags in the lv2specgen.py output so they can sit inside <pre> text
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index e69cb2e..1b210ce 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -681,7 +681,7 @@ def specgen(specloc, docdir, template, doclinks, instances=False, mode="spec"):
dlfile = open(doclinks, 'r')
for line in dlfile:
sym, _, url = line.rstrip().partition(' ')
- linkmap[sym] = '<a href="%s">%s</a>' % (url, sym)
+ linkmap[sym] = '<span><a href="%s">%s</a></span>' % (url, sym)
m = RDF.Model()
try: