diff options
author | Lars Luthman <lars.luthman@gmail.com> | 2011-03-12 08:35:41 +0000 |
---|---|---|
committer | Lars Luthman <lars.luthman@gmail.com> | 2011-03-12 08:35:41 +0000 |
commit | 316e95ecd16dc296f4984f42dbc4accec5045bb9 (patch) | |
tree | 8d3a5966d803cbac2199ef71ed4db67237177ded /lv2specgen/lv2specgen.py | |
parent | b98dbcdddff0d758bfeddace5535bdcd4bce174a (diff) | |
download | lv2-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/lv2specgen.py')
-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 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: |