mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[ticket/15538] Amend iconfiy to data attributes
PHPBB3-15538
This commit is contained in:
@@ -313,7 +313,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||
'attributes' => [],
|
||||
],
|
||||
[],
|
||||
'<i class="iconify o-icon phone"></i>',
|
||||
'<i class="iconify o-icon" data-icon="fa:phone" data-inline="true"></i>',
|
||||
],
|
||||
/** Iconify: all options */
|
||||
[
|
||||
@@ -330,7 +330,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||
[
|
||||
'ICON_PENCIL' => 'Pencil icon',
|
||||
],
|
||||
'<i class="iconify o-icon pencil icon-lg" title="Pencil icon" aria-hidden="true" data-swap="Swap text"></i>
|
||||
'<i class="iconify o-icon icon-lg" title="Pencil icon" aria-hidden="true" data-icon="fa:phone" data-inline="true" data-swap="Swap text"></i>
|
||||
<span class="sr-only">Pencil icon</span>',
|
||||
],
|
||||
/** PNG: default */
|
||||
|
Reference in New Issue
Block a user