NO BUG: Suddenly bricks adds: i tag to text elements

Bricks Version: 1.5.4
Browser: Chrome 90
OS: Windows.

Suddenly bricks adds: i tag to text elements, making font looks italic on the frontend.

I am not really sure how can I reproduce this issue. But after several hours on working on the builder. Bricks adds i tag to all text elements, whether they are in the home page I was designing or in the header or footer.

Here is an example, of the frontend

Backend:

Ok, I just found where the issue is.

The heading element " Supercharge your … " content was
" Supercharge your <i style="">WEBSITE DESIGN</em> with us "

because there was no closing for the i tag, all text elements get the i tag. So, I just replaced </em> with </i> and this issue resolved.

But this could be something you can look after, to prevent it from happening.

Thanks

Hi Mohammed,
Thanks so much for your report!

We do not add html elements to the basic text element. You probably copied and pasted them yourself :slight_smile:

Best regards,
timmse

Thanks for your reply.

No, I did not. Try to give it a chance, add bunch of text elements and edit on of them to be Supercharge your <i style="">WEBSITE DESIGN</em> with us " And take a look on the frontend.

Hey Mohammed,

This isn’t a Bricks issue. This happens with plain html too. If you forget to close your tags, weird things happen.

1 Like