File tree 3 files changed +8
-4
lines changed
fj-doc-mod-fop/src/main/resources/fj_doc_mod_fop_config/template/macro
fj-doc-sample/src/test/java/test/org/fugerit/java/doc/sample
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
12
12
- [ CHORE] : 'direct' goal + 'add' / 'init' configure support for extra modules < https://github.com/fugerit-org/fj-doc/pull/424 >
13
13
14
+ ### Fixed
15
+
16
+ - [ BUG] : [ fj-mod-doc-fop] error if a element <phrase > is inside a <cell > < https://github.com/fugerit-org/fj-doc/pull/426 >
17
+
14
18
## [ 8.13.9] - 2025-04-28
15
19
16
20
### Changed
Original file line number Diff line number Diff line change 94
94
<fo:table-cell <#if (cell.backColor??) > background-color="${cell.backColor} " </#if ><@addCssValue name='padding' value=docTable.padding def=0 unit='mm'/ ><@addCssValue name='margin' value=docTable.padding def=0 unit='mm'/ ><@handleAlign alignValue=cell.align/ ><@handleVerticalAlign valignValue=cell.valign/ ><@handleBorders docBorders=cell.docBorders/ ><@handleCellSpan cell=cell/ >>
95
95
<#if (cell.elementList?size > 0)>
96
96
<#list cell.elementList as cellElement >
97
- <@handleElement current=cellElement/ >
97
+ <# if cellElement.class.simpleName = 'DocPhrase' >< fo:block >< @handleElement current=cellElement/ ></ fo:block >< o ></ o ><# else ><@ handleElement current=cellElement/ ></# if >
98
98
</#list >
99
99
<#else >
100
100
<fo:block ></fo:block >
Original file line number Diff line number Diff line change 1
1
package test .org .fugerit .java .doc .sample ;
2
2
3
- import org .fugerit .java .core .cfg .ConfigRuntimeException ;
4
3
import org .fugerit .java .core .lang .helpers .ClassHelper ;
5
4
import org .fugerit .java .doc .lib .direct .VenusDirectFacade ;
6
5
import org .fugerit .java .doc .lib .direct .config .VenusDirectConfig ;
@@ -18,13 +17,14 @@ class TestSampleDirect {
18
17
19
18
@ Test
20
19
void testDirect () throws IOException {
20
+ File testOutputMd = new File ( "./target/direct-sample/issue-426.md" );
21
+ testOutputMd .delete ();
21
22
try (Reader reader = new InputStreamReader (ClassHelper .loadFromDefaultClassLoader ( "venus-config-direct/venus-direct-config.yaml" ) )) {
22
23
Map <String , String > envMap = new HashMap <>();
23
24
envMap .put ( "projectBasedir" , "." );
24
25
VenusDirectConfig config = VenusDirectFacade .readConfig ( reader , envMap );
25
- Assertions . assertThrows ( ConfigRuntimeException . class , ()-> VenusDirectFacade .handleAllOutput ( config ) );
26
+ VenusDirectFacade .handleAllOutput ( config );
26
27
}
27
- File testOutputMd = new File ( "./target/direct-sample/issue-426.md" );
28
28
Assertions .assertTrue ( testOutputMd .exists () );
29
29
}
30
30
You can’t perform that action at this time.
0 commit comments