slim icon indicating copy to clipboard operation
slim copied to clipboard

Additional attribute '\t'='' appears if we use multiline attributes

Open Inversion-des opened this issue 8 years ago • 1 comments

There is some problem with render:

div
	p[
		id="marvin"
		class="martian"
		data-info="Illudium Q-36"
	]
	p Next line

produces <div><p \t="" class="martian" data-info="Illudium Q-36" id="marvin"></p><p>Next line</p></div> Attribute \t="" is wrong here.

Inversion-des avatar Jan 08 '18 15:01 Inversion-des

I use this workaround (https://github.com/Inversion-des/slim/commit/8857e41eeda9d97f5d158ad19b0683e119c4e8c9), but there should be some better solution.

Inversion-des avatar Jan 08 '18 15:01 Inversion-des