mediawiki-skins-Vector/includes/templates/Button.mustache
Moh'd Khier Abualruz 288b802d45 Vector 22 has some missing whitespace internal to HTML elements
Bug: T338691
Change-Id: Ic4657505ff92027d3c83373c7000e452f00ac07e
2023-07-04 19:05:36 +02:00

9 lines
305 B
Plaintext

{{#href}}<a href="{{.}}"{{/href}}{{!
}}{{^href}}<button{{/href}}{{!
}}{{#id}} id="{{.}}"{{/id}}{{!
}} class="{{class}}"{{!
}}{{#array-attributes}} {{key}}="{{value}}"{{/array-attributes}}>{{!
}}{{#icon}}{{>Icon}}{{/icon}}<span>{{label}}</span>
{{#href}}</a>{{/href}}{{!
}}{{^href}}</button>{{/href}}