mgwidmann / scrivener_html

HTML view helpers for Scrivener
MIT License
125 stars 208 forks source link

Always use `li_classes_for_style/3` for :semantic links #80

Closed jerodsanto closed 5 years ago

jerodsanto commented 5 years ago

There is no link_classes_for_style/3 that matches :semantic view style, so we need to always use li_classes_for_style/3.

I tried writing a test for this, but couldn't figure out how to pass the right data in so that the to variable contains data, which would trigger this particular code. If you show me how to do that happy to add it.