File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
fj-doc-freemarker/src/main/resources/fj_doc_freemarker_config/template/macro Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
- [ fj-doc-maven-plugin] m2e lifecycle configuration
14
14
- [ fj-doc-freemarker] tool FreeMarkerTemplateSyntaxVerifier (check for FreeMarker templates syntax)
15
15
16
+ ### Fixed
17
+
18
+ - [ fj-doc-freemarker] back color handling in html check
19
+
16
20
## [ 8.6.5] - 2024-08-23
17
21
18
22
### Fixed
Original file line number Diff line number Diff line change 82
82
<#list rowList as row >
83
83
<tr <@handleId element =row/ >>
84
84
<#list row.elementList as cell ><#assign defCellId >cell_${row?index } _${cell?index } </#assign >
85
- <${cellType} <@handleIdDef element=cell defId=defCellId/ > style="width: ${docTable.colWithds[cell?index] } %;<@handleAlign alignValue=cell.align/ ><@handleBorders docBorders=cell.docBorders/ ><@addCssValue name='padding' value=docTable.padding def=0 unit='px'/ ><@addCssValue name='margin' value=docTable.spacing def=0 unit='px'/ >"<@handleColspan colspanValue=cell.columnSpan/ ><@handleRowspan rowspanValue=cell.rowSpan/ >>
85
+ <${cellType} <@handleIdDef element=cell defId=defCellId/ > style="<# if (cell.backColor??) > background: ${cell.backColor} ;</# if > width: ${docTable.colWithds[cell?index] } %;<@handleAlign alignValue=cell.align/ ><@handleBorders docBorders=cell.docBorders/ ><@addCssValue name='padding' value=docTable.padding def=0 unit='px'/ ><@addCssValue name='margin' value=docTable.spacing def=0 unit='px'/ >"<@handleColspan colspanValue=cell.columnSpan/ ><@handleRowspan rowspanValue=cell.rowSpan/ >>
86
86
<#list cell.elementList as cellElement >
87
87
<@handleElement current=cellElement/ >
88
88
</#list >
You can’t perform that action at this time.
0 commit comments