mediawiki-extensions-Tabber.../includes/templates/Tabber.mustache
alistair3149 f553e95d0a
feat: add support for custom attributes
- Use MW core sanitizer to sanitize attributes to keep feature parity with core sanitizier
- Simplify HTML attribute handling

Closes: #194, #183
2024-11-22 16:02:46 -05:00

11 lines
473 B
Plaintext

<div {{{html-attributes}}}'>{{!
}}<header class="tabber__header">{{!
}}<button class="tabber__header__prev" aria-hidden="true"></button>{{!
}}<nav class="tabber__tabs" role="tablist">{{!
}}{{#array-tabs}}{{>TabberTab}}{{/array-tabs}}{{!
}}{{#html-tabs}}{{{.}}}{{/html-tabs}}{{!
}}</nav>{{!
}}<button class="tabber__header__next" aria-hidden="true"></button>{{!
}}</header>{{!
}}<section class="tabber__section">{{>TabberTabpanel}}</section>{{!
}}</div>