From a0de5aa676913c5b253d7a7fac6ce5c419544a1a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 19 Mar 2020 17:57:05 +0100 Subject: 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. --- lv2specgen/lv2specgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '%s' % (name, curie) + return '%s' % (name, name) elif prefix in namespaces: return '%s' % ( namespaces[match.group(1)] + match.group(2), -- cgit v1.2.1