mediawiki-skins-MinervaNeue/includes/Skins/Button.mustache
Fomafix 3bae52817b Fix HTML errors reported by Firefox view-source
* Add missing spaces between attributes.
* Remove duplicate attributes.
* Remove unnecessary spaces and newlines.

Change-Id: Ia688234712f24f20cb1b45496f4736a98e69b00f
2024-04-15 22:51:21 +00:00

7 lines
561 B
Plaintext

<{{^tag-name}}button{{/tag-name}}{{#tag-name}}{{.}}{{/tag-name}}{{!
}}{{#tag-name}} role="button"{{/tag-name}}{{!
}}{{#array-attributes}} {{key}}="{{value}}"{{/array-attributes}} {{!
}}class="cdx-button cdx-button--size-large{{#tag-name}} cdx-button--fake-button cdx-button--fake-button--enabled{{/tag-name}}{{#data-icon}} cdx-button--icon-only cdx-button--weight-quiet{{/data-icon}}{{#classes}} {{.}}{{/classes}}">
{{#data-icon}}{{>Icon}}{{/data-icon}}<span>{{ label }}</span>
</{{^tag-name}}button{{/tag-name}}{{#tag-name}}{{.}}{{/tag-name}}>