mediawiki-skins-Vector/includes/templates/Button.mustache
bwang 2eb8fe89ea Remove unecessary whitespace and new lines from HTML
Change-Id: I8fe04d458da292e2990543afa232a91b6dd4db59
2023-07-06 14:07:29 -05:00

5 lines
278 B
Plaintext

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