The code currently appears to get this exactly backwards; ugly: false was made the default behavior in HAML 5.0, so the current behavior causes lots of noise about :ugly being an invalid attribute. This patch fixes that behavior and preserves behavior for HAML < 5.0.
Coverage remained the same at 90.849% when pulling e0a289ff17b6d4c30b2d85e208d82c47221bb31f on mjgiarlo:use_haml_ugly_arg_only_when_version_lt_5 into 47d2455817bce15db8e42148a40b9d7177483ce7 on ruby-rdf:1.99-support.
The code currently appears to get this exactly backwards;
ugly: false
was made the default behavior in HAML 5.0, so the current behavior causes lots of noise about:ugly
being an invalid attribute. This patch fixes that behavior and preserves behavior for HAML < 5.0.Would love to see this in a 1.99.3 release!