-
AuthorPosts
-
May 19, 2022 at 11:03 am #1352284
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!
May 19, 2022 at 4:02 pm #1352326Hey 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,
RikardMay 23, 2022 at 8:19 am #1352605Hi Rikard,
see privat content.
Thanks!
May 24, 2022 at 8:01 am #1352721Hi,
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,
IsmaelMay 24, 2022 at 2:11 pm #1352757Hi Ismael, that worked. Thanks!
May 24, 2022 at 3:31 pm #1352771 -
AuthorPosts
- You must be logged in to reply to this topic.
