Export Issue: How to export layer names as class name or image id again?

Hi there, in previous Version (dont know which one) it was possible to export so that image id or classnames = layername_uid

image

In the latest Version its not possible anymore. Either thers no layernames used as class or id, or, if I check the “export datanames” it will be exported as data-name.

Is there any chance to get the exported html file look like Screenshot 1 again?
Please help! Thanks in advance

I have resolved the issue in another way and will use the files as they are exported with the current version.