Closed michaelglass closed 6 years ago
You have a mistake in your minimal spec
- assert_equal("<p class='a 13'>foo</p>", render('%p{class: "a #{"1".concat "2", "3"}"} foo').chomp)
+ assert_equal("<p class='a 123'>foo</p>", render('%p{class: "a #{"1".concat "2", "3"}"} foo').chomp)
Fixed in Hamlit 2.8.7. Please try it.
I have never had someone address a bug report so quickly. I have been telling everyone I know about this experience (including people that have no idea what I'm talking about, e.g. my friends' children).
Thank you so much!
Here's a minimal test case. I don't have Temple or C chops to fix this totally on my own. Happy to dive in if anyone wants to pair!
Does not happen, (e.g. everything is good) if...
fails when
produces
hand-prettified, that's