Skip to content

Commit a17fdb7

Browse files
committed
back color handling in html check
1 parent 663d8c3 commit a17fdb7

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
@@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- [fj-doc-maven-plugin] m2e lifecycle configuration
1414
- [fj-doc-freemarker] tool FreeMarkerTemplateSyntaxVerifier (check for FreeMarker templates syntax)
1515

16+
### Fixed
17+
18+
- [fj-doc-freemarker] back color handling in html check
19+
1620
## [8.6.5] - 2024-08-23
1721

1822
### Fixed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<#list rowList as row>
8383
<tr<@handleId element=row/>>
8484
<#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/>>
8686
<#list cell.elementList as cellElement>
8787
<@handleElement current=cellElement/>
8888
</#list>

0 commit comments

Comments
 (0)