drafter-edu / drafter

A simple Python library for making websites
https://drafter-edu.github.io/drafter/
MIT License
0 stars 1 forks source link

Styling functions serialize incorrectly #25

Open acbart opened 1 week ago

acbart commented 1 week ago

The next version (1.5.6) will fix a bug where some components are not getting serialized to tests correctly. However, this exposed an issue where styling functions will generate slightly incorrect (or at least unhelpful) tests. Specifically, they were coded with the - version of their style names, instead of the underscore approach. It makes them look a little weird (although I think they would still work).