ractivejs / ractive

Next-generation DOM manipulation
http://ractive.js.org
MIT License
5.94k stars 396 forks source link

Escape quotes in static attributes - #3311 #3312

Closed evs-chris closed 5 years ago

evs-chris commented 5 years ago

This one slipped through the cracks, but there's a test and fix now.

Static attributes were added as a perf enhancement, because every attribute was getting its own fragment, which causes a bunch of extra allocation for something that's just going to end up rendering the same string it already knows.

evs-chris commented 5 years ago

Do you need this backported to anything beyond the default supported 1.3 and 1.2 series?

MartinKolarik commented 5 years ago

1.3 is enough.