- Issue created by @ChrisSnyder
- 🇮🇳India sarwan
Hi, the inline css added in the module is through js files. So, we can't do anything because the css applied through that is applied for the special cases.
- @chrissnyder opened merge request.
- Status changed to Needs review
10 months ago 3:44pm 18 September 2023 - 🇺🇸United States ChrisSnyder Maryland
I believe we can use the
style
property directly to avoid issues.From https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Securi... :
However, styles properties that are set directly on the element's style property will not be blocked, allowing users to safely manipulate styles via JavaScript:
The MR I just opened should accomplish this.
-
ChrisSnyder →
committed a753e032 on 1.0.x
Issue #3387627 by ChrisSnyder: Avoid use of inline styles
-
ChrisSnyder →
committed a753e032 on 1.0.x
- Status changed to Fixed
10 months ago 7:26pm 18 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.