This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git
The following commit(s) were added to refs/heads/master by this push:
new 4c4e16ce Add macro for historical links #230 (adjust URL)
4c4e16ce is described below
commit 4c4e16ce230b483fb417dc0d0a2ba219e5cb92e7
Author: Paul King <[email protected]>
AuthorDate: Fri Dec 20 12:53:42 2024 +1000
Add macro for historical links #230 (adjust URL)
---
.../src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
index 208b4677..8da517ec 100644
---
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
+++
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
@@ -27,7 +27,7 @@ class IssueLinkMacro extends InlineMacroProcessor {
Object process(ContentNode parent, String target, Map<String, Object>
attributes) {
def options = [
type : ":link",
- target:
"https://github.com/apache/groovy-geb/issues/issues/${target}"
+ target: "https://github.com/apache/groovy-geb/issues/${target}"
]
createPhraseNode(parent, "anchor", "#$target", attributes, options)