Closed rabauss closed 1 year ago
I have opened a pull request in Contao to fix this (see contao/contao#5930) but this should also be fixed by c917ea8d84249b5623d8c68cd676b6aff4a417cf, can you confirm?
The workaround https://github.com/terminal42/contao-leads/commit/c917ea8d84249b5623d8c68cd676b6aff4a417cf is not nice but looks good to me! Thank you also for the PR in the core!
Unfortunately the following replacement with regex
<[^>]+>\s*<\/[^>]+>
in https://github.com/contao/contao/blob/4.13/core-bundle/src/Resources/contao/classes/DataContainer.php#L1767 also removes the last two closing tags of the format here: https://github.com/terminal42/contao-leads/blob/e0085e3ea3cfc133f916847030d74f4c23b1080b/contao/dca/tl_lead_export.php#L26for example the following label
is replaced to:
I'm not sure if it need to be solved in the core or if we could optimize the new label format. What do you think?