Difference between revisions of "Module:Sortkey/doc"
(Creation (as this is needed)) |
m (Fixing it up) |
||
Line 1: | Line 1: | ||
− | This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with | + | This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with table sorting. Use it when you cannot be certain that the provided sortkey input is a correct sortkey. |
<!-- Please place categories where indicated at the bottom of this page --> | <!-- Please place categories where indicated at the bottom of this page --> |
Latest revision as of 19:15, 19 September 2022
This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with table sorting. Use it when you cannot be certain that the provided sortkey input is a correct sortkey.
Usage[edit]
{{#invoke:Sortkey|escape|sortkey to sanitize}}