mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
* Fix mustache quotes inside attribute (#10419) * Add changelog (#10419) * Update changelog (#10419) * Updated tests * Updated tests * Opimize performance * Don't format changlog * Remove additional example
18 lines
746 B
Handlebars
18 lines
746 B
Handlebars
<div title='My title'></div>
|
|
<div title="My title"></div>
|
|
<div title='My "title"'></div>
|
|
<div title="My other 'title'"></div>
|
|
|
|
<div title="{{t 'my.title'}}" />
|
|
<div title='{{t "my.title"}}' />
|
|
|
|
<a href="/{{url}}/{{url}}"></a>
|
|
<a href='/{{url}}/{{url}}'></a>
|
|
|
|
<button class="padding width-{{locales.length}} {{if (has locale) "uk-button-primary"}}"></button>
|
|
<button class="padding width-{{locales.length}} {{if (has locale) 'uk-button-primary'}}"></button>
|
|
<button class='padding width-{{locales.length}} {{if (has locale) "uk-button-primary"}}'></button>
|
|
<button class='padding width-{{locales.length}} {{if (has locale) 'uk-button-primary'}}'></button>
|
|
|
|
<div class="padding {{if foo (if fooAgain "bar" (if fooAgainAgain "bar" "foo"))}} baz" />
|