Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML entities inside the new improved inlined CSS #16140

Closed
5 tasks done
simkoG opened this issue Aug 25, 2021 · 1 comment
Closed
5 tasks done

HTML entities inside the new improved inlined CSS #16140

simkoG opened this issue Aug 25, 2021 · 1 comment
Labels
bug Indicates a bug with one or multiple components.

Comments

@simkoG
Copy link

simkoG commented Aug 25, 2021

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

When I turn on the new "Improved CSS Loading" feature the > characters whitin the generated inline CSS are replaced with > therefore the generated CSS is invalid.

For example:

.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}
                                                                          ⬆

Steps to reproduce

  1. Install clean Wordpress with Elementor (and Elementor Pro).
  2. Activate Elementor (and Elementor Pro).
  3. Go to Elementor > Settings > Experiments.
  4. Set "Improved CSS Loading" to "Active".
  5. Create a new Elementor page.
  6. Add a "Header" element with some text and a <a href="#">Sample</a> tag inside of it.
  7. Check the generated code and look for the sample mentioned above.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

https://pastebin.com/XKb4a6ut

@shilo-ey shilo-ey added the bug Indicates a bug with one or multiple components. label Aug 25, 2021
@shilo-ey
Copy link
Contributor

This issue has been resolved in Elementor v3.4.3

Feel free to update

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a bug with one or multiple components.
Projects
None yet
Development

No branches or pull requests

2 participants