aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-19 17:57:05 +0100
committerDavid Robillard <d@drobilla.net>2020-03-28 17:10:05 +0100
commita0de5aa676913c5b253d7a7fac6ce5c419544a1a (patch)
tree0edba6aa80233597aa55d30b2d3208ddcbac950a
parentb709e4ff1a10c26fc965ea9f9fc0d46b2cc7d9d5 (diff)
downloadlv2-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.
-rwxr-xr-xlv2specgen/lv2specgen.py2
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),