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
{{ message }}
This repository was archived by the owner on Dec 16, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 16, 2021. It is now read-only.
@ikoruk this bit me today. With the g flag it gets converted to kebab which isn't the solution as far as I can tell with. Is there a way to denylist certain attributes, or svg attributes as a whole? I'm not super familiar with the internals.
Activity
itslevo commentedon Jul 27, 2018
Can confirm, clipPathUnits gets rendered as clip-pathunits.
developit commentedon Aug 6, 2018
Hmm - it looks like the regex that is handling
clipPathUnitsis missing/g, so it only replaces the first uppercase character:https://github.com/developit/preact-compat/blob/6029c6e25f6d1c6461d5cc24a9c8bdc781f6ab87/src/index.js#L123
ikoruk commentedon Jan 16, 2019
Is there a temporary workaround until this is fixed?
itsthesteve commentedon Feb 13, 2019
@ikoruk this bit me today. With the
gflag it gets converted to kebab which isn't the solution as far as I can tell with. Is there a way to denylist certain attributes, or svg attributes as a whole? I'm not super familiar with the internals.