diff --git a/maven-plugins/sitegen-maven-plugin/src/main/resources/templates/vuetify/block_table.ftl b/maven-plugins/sitegen-maven-plugin/src/main/resources/templates/vuetify/block_table.ftl index df5b6dc3b..bee5ef19f 100644 --- a/maven-plugins/sitegen-maven-plugin/src/main/resources/templates/vuetify/block_table.ftl +++ b/maven-plugins/sitegen-maven-plugin/src/main/resources/templates/vuetify/block_table.ftl @@ -51,12 +51,12 @@ TODO: <#list row.cells as cell> <#if cell.content?is_enumerable> <#list cell.content as cellcontent> rowspan="${cell.rowspan}" -<#if cell.colspan??> colspan="${cell.colspan}" +<#if (cell.rowspan!0) != 0> rowspan="${cell.rowspan}" +<#if (cell.colspan!0) != 0> colspan="${cell.colspan}" >${cellcontent} <#else> rowspan="${cell.rowspan}" -<#if cell.colspan??> colspan="${cell.colspan}" +<#if (cell.rowspan!0) != 0> rowspan="${cell.rowspan}" +<#if (cell.colspan!0) != 0> colspan="${cell.colspan}" >${cell.content}