Hello,
currently in our german version we have a nested span-tag in our h1-tag.
It looks like this:
<h1>Ihr unabhängiger Partner für <span>erneuerbare Energielösungen</span></h1>
However, if we put that in our english site, it automatically removes the <span> tag. It takes other tags like <div> and <p> but puts it outside the <h1>.
So this
<h1>Your independent partner for <span>renewable energy solutions</span></h1>
becomes
<h1>Your independent partner for renewable energy solutions</h1>
and
<h1>Your independent partner for <div>renewable energy solutions</div></h1>
becomes this
<h1>Your independent partner for</h1>
<div>renewable energy solutions</div>
Any way to fix this?
Thanks in advance!
Hey emilconsor,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
Hi Rikard,
see privat content.
Thanks!
Hi,
Thank you for the update.
There is actually a warning in the caption fields that notifies users that html and shortcode tags can break the builder, so we do not recommend adding them in those fields.
Warning: Characters ,[,] might break ALB backend or frontend. Read more if you want to use them. You can use valid HTML markup.
There is a workaround but it will require another plugin and use of placeholders.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#using-special-characters
Best regards,
Ismael
Hi Ismael, that worked. Thanks!