laravel-tag-helper icon indicating copy to clipboard operation
laravel-tag-helper copied to clipboard

Support for single quoted attributes?

Open lassemettovaara opened this issue 7 years ago • 0 comments

I noticed there's a compatibility issue with templates that have single quoted attributes, such as Laravel Telescope. Couldn't find out specifically where the issue lies (perhaps in the dom parser used?) but here's an example of what's happening.

Original Blade file: screenshot 2018-11-17 at 16 39 05

Compiled view without Laravel Tag Helper: screenshot 2018-11-17 at 16 37 48

After Laravel Tag Helpers has done its thing: screenshot 2018-11-17 at 16 36 16

Problem disappears when swapping out the quotes to normal double quotes, but I think single quotes are still perfectly valid html and not extremely rare either.

lassemettovaara avatar Nov 17 '18 15:11 lassemettovaara