HTML Template unwanted space between empty fields

prettem

Member
hello dear support,
unfortunately there is a space betweeen empty fields in a html template, therefore the complete line is shifted to right.
Is there a possibility to remove spaces if a field is empty, please?

ie: Title and surname is not filled in every record

Template
<td align="left" valign="top" width="35%" style="font-size:12px;">dadabik_field Anrede dadabik_field<br>dadabik_field Titel(vor) dadabik_field&nbsp;dadab
dadabik_field NameZusatz1 dadabik_field<br>dadabik_field NameZusatz2 dadabik_field<br>dadabik_field Strasse dadabik_field<br>
dadabik_field Plz dadabik_field dadabik_field Ort dadabik_field<br>dadabik_field Land dadabik_field<br>
</td>
Template

output:
1651106939738.png

Your current DaDaBIK version​

You are using DaDaBIK version 11.4-Elba enterprise, installed on 09.03.2022 (installation code: 1780462288396de6b1), the latest version of DaDaBIK is 11.4-Elba released on 28.02.2022

You are running the latest release of DaDaBIK

In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enteprise to Platinum) please contact us.

System info​

PHP Version: 7.3.27

mysql version: 5.7.33-0ubuntu0.16.04.1

Web server: Apache

Client: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36 OPR/85.0.4341.47
 

eugenio

Administrator
Staff member
Hello,
yes at the moment when a field is empty, &nbsp; is displayed in the related datagrid cell; this normally doesn't create any problem in the datagrid but I guess in your case, using a template, things may be different.
If you want you can propose a change here:

Best,
 
Top