slim icon indicating copy to clipboard operation
slim copied to clipboard

Custom self-closing tags don't compile correctly

Open iandoesallthethings opened this issue 7 years ago • 0 comments

I'm working on an app that will use edge side includes for some content.

My code: esi:include src="user_image" /

Expected result: <esi:include src="user_image" />

Actual result:

<esi:include src="user_image">
  /next tag nested inside for some reason
</esi:include>

I also tried defining a shortcut in slim.rb in case the colon was messing with it somehow, but the result is the same.

iandoesallthethings avatar Aug 31 '17 16:08 iandoesallthethings