liveview-native / live_view_native_stylesheet

MIT License
10 stars 4 forks source link

Add inline style parsing #67

Closed bcardarella closed 4 months ago

bcardarella commented 4 months ago

Now stylesheets will parse each ; separated segments from the style attribute and run it through the rules parser for inclusion in the stylesheet output

Clients should now also parse the style attribute. Key names should be split on ; and a " should be replaced with ". Considering this is being applied inline I highly recommend that only a method with no greater than O(n) replacement time be used. Ideally a single pass tokenization replacement method.