File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
fj-doc-freemarker/src/main/resources/fj_doc_freemarker_config/template/macro Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 5353 <#assign imageAlign="style='display: block; margin-left: auto; margin-right: auto;'"/ >
5454 </#if >
5555 </#if >
56- <img <@handleId element =current / > ${imageAlign!'' } <#if (docImage.alt)?? > alt="${docImage.alt} " </#if > ${imageScaling} src="data:image/png;base64, ${docImage.resolvedBase64} " />
56+ <img <@handleId element =docImage / > ${imageAlign!'' } <#if (docImage.alt)?? > alt="${docImage.alt} " </#if > ${imageScaling} src="data:image/png;base64, ${docImage.resolvedBase64} " />
5757</#macro >
5858
5959<#macro handleList docList >
6060 <#if docList.elementList?size gt 0 >
61- <${docList.htmlType} <@handleId element=current / >>
61+ <${docList.htmlType} <@handleId element=docList / >>
6262 <#list docList.elementList as li >
6363 <#if (li?counter > 0)>
64- <li <@handleId element =current / ><#if li.contentList >style="list-style-type: none;"<#elseif docList.listType = 'oll' >style="list-style-type: lower-alpha;"<#elseif docList.listType = 'ulm' >style="list-style-type: square;"<#elseif docList.listType = 'uld' >style="list-style-type: circle;"</#if >> <#list li.elementList as element ><@handleElement current=element/ ></#list ></li >
64+ <li <@handleId element =li / ><#if li.contentList >style="list-style-type: none;"<#elseif docList.listType = 'oll' >style="list-style-type: lower-alpha;"<#elseif docList.listType = 'ulm' >style="list-style-type: square;"<#elseif docList.listType = 'uld' >style="list-style-type: circle;"</#if >> <#list li.elementList as element ><@handleElement current=element/ ></#list ></li >
6565 </#if >
6666 <#assign prevLi=li/ >
6767 </#list >
130130 <@handleBorder mode='border-right' size=docBorders.borderWidthRight color=borderColorRight/ >
131131</#macro >
132132
133- <#macro handleIdDef element defId ><#if element.id?? >id="${element.id} " <#else >id="${defId} "</#if ></#macro >
133+ <#macro handleIdDef element defId ><#if ( element.id) ?? >id="${element.id} " <#else >id="${defId} "</#if ></#macro >
134134
135- <#macro handleId element ><#if element.id?? >id="${element.id} " </#if ></#macro >
135+ <#macro handleId element ><#if ( element.id) ?? >id="${element.id} " </#if ></#macro >
136136
137137<#macro handleRowspan rowspanValue > rowspan="${rowspanValue} " </#macro >
138138
You can’t perform that action at this time.
0 commit comments