SEC-2291: Fix internal links within reference
Instead of using xlink:href="# use linkend="
This commit is contained in:
+2
-2
@@ -53,9 +53,9 @@ class XsdDocumentedTests extends Specification {
|
||||
def id = delegate.@id.text().replace('-parents', '').replace('-children', '')
|
||||
result.put(id,[])
|
||||
delegate.children().breadthFirst().each { sectionChild ->
|
||||
def href = sectionChild.@href.text()
|
||||
def href = sectionChild.@linkend.text()
|
||||
if(href) {
|
||||
result.get(id).add(href[1..-1])
|
||||
result.get(id).add(href)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user