Skip to content

Commit 649e220

Browse files
authored
Merge pull request #400 from fugerit-org/399-chore-handling-link-in-asciidoc-handler
handling link in asciidoc handler #399
2 parents bf081ad + eec35bb commit 649e220

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- [fj-doc-freemarker] handling link in asciidoc handler <https://github.com/fugerit-org/fj-doc/pull/399>
13+
1014
## [8.13.3] - 2025-04-24
1115

1216
### Fixed

fj-doc-freemarker/src/main/resources/fj_doc_freemarker_config/template/macro/ascidoc-element.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<#macro handlePara current><@handleHeadings headLevel=current.headLevel/><@handleTextStyle styleValue=current.style text=current.text/> +
2929
</#macro>
3030

31-
<#macro handlePhrase current><@handleTextStyle styleValue=current.style text=current.text/></#macro>
31+
<#macro handlePhrase current><#if (current.link)?? >link:${current.link}[<@handleTextStyle styleValue=current.style text=current.text/>]<#else><@handleTextStyle styleValue=current.style text=current.text/></#if></#macro>
3232

3333
<#macro handleRowList docTable rowList>
3434
<#list rowList as row>

0 commit comments

Comments
 (0)