diff options
author | David Robillard <d@drobilla.net> | 2020-03-19 17:57:05 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-28 17:10:05 +0100 |
commit | a0de5aa676913c5b253d7a7fac6ce5c419544a1a (patch) | |
tree | 0edba6aa80233597aa55d30b2d3208ddcbac950a /lv2specgen | |
parent | b709e4ff1a10c26fc965ea9f9fc0d46b2cc7d9d5 (diff) | |
download | lv2-a0de5aa676913c5b253d7a7fac6ce5c419544a1a.tar.xz |
lv2specgen: Show links within the current page without prefixes
This makes things quite a bit more readable since the prefixes don't interrupt
the flow of the text.
Diffstat (limited to 'lv2specgen')
-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 fbecb23..ebf8bd1 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -246,7 +246,7 @@ def getComment(m, urinode, classlist, proplist, instalist): (instalist and uri in instalist) or (proplist and uri in proplist)): print("warning: Link to undefined resource <%s>\n" % text) - return '<a href="#%s">%s</a>' % (name, curie) + return '<a href="#%s">%s</a>' % (name, name) elif prefix in namespaces: return '<a href="%s">%s</a>' % ( namespaces[match.group(1)] + match.group(2), |