You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With v4.2.1 the only workaround is to disable both safeClassNames and filters by setting them to false in the config.
filters needs to be updated to respect the safeClassNames config (i.e. add the safeClassNames() plugin only if safeClassNames is set to false in the config.
The text was updated successfully, but these errors were encountered:
Even if you add this to your config:
The
safeClassNames
transformer will still run, because it also runs infilters
:framework/src/transformers/filters/index.js
Lines 25 to 31 in 2555080
Solution
With
v4.2.1
the only workaround is to disable bothsafeClassNames
andfilters
by setting them tofalse
in the config.filters
needs to be updated to respect thesafeClassNames
config (i.e. add thesafeClassNames()
plugin only ifsafeClassNames
is set tofalse
in the config.The text was updated successfully, but these errors were encountered: