|
3 | 3 | <ul class="pagination is-flex is-flex-wrap-wrap is-flex-direction-row is-justify-content-center"> |
4 | 4 | {?prev_page} |
5 | 5 | <li class="arrow arrow-left"> |
6 | | - <a class="paginate" href="{page_link}{prev_page}{hash}" data-page="{prev_page}"> |
| 6 | + <a class="paginate" href="{page_link|url}{prev_page|attr}{hash|attr}" data-page="{prev_page|attr}"> |
7 | 7 | {>"ui/icon" icon="chevron-left" class="icon--medium" aria-hidden="true" /} |
8 | | - <span class="is-sr-only">{S.prev}</span> |
| 8 | + <span class="is-sr-only">{S.prev|html}</span> |
9 | 9 | </a> |
10 | 10 | </li> |
11 | 11 | {/prev_page} |
12 | 12 | {?hellip_start} |
13 | 13 | <li class="pagination-item"> |
14 | | - <a class="pagination-item__link" href="{page_link}1{hash}" data-page="{first_page}">{first_page}</a> |
| 14 | + <a class="pagination-item__link" href="{page_link|url}1{hash|attr}" data-page="{first_page|attr}">{first_page|html}</a> |
15 | 15 | </li> |
16 | 16 |
|
17 | 17 | <li class="unavailable" aria-disabled="true"> |
|
20 | 20 | {/hellip_start} |
21 | 21 | {#pages} |
22 | 22 | <li class="pagination-item{?active} is-current unavailable{/active}"> |
23 | | - <a class="pagination-item__link{^active} clickable{/active}" href="{page_link}{page}{hash}" |
| 23 | + <a class="pagination-item__link{^active} clickable{/active}" href="{page_link|url}{page|attr}{hash|attr}" |
24 | 24 | {?active}aria-current="true" {/active} |
25 | | - aria-label="{S.page_aria_label|s} {page}" |
26 | | - data-page="{page}"> |
27 | | - {page} |
| 25 | + aria-label="{S.page_aria_label|attr} {page|attr}" |
| 26 | + data-page="{page|attr}"> |
| 27 | + {page|html} |
28 | 28 | </a> |
29 | 29 | </li> |
30 | 30 | {/pages} |
|
34 | 34 | </li> |
35 | 35 |
|
36 | 36 | <li class="pagination-item"> |
37 | | - <a class="pagination-item__link" href="{page_link}{last_page}{hash}" data-page="{last_page}"> |
38 | | - {last_page} |
| 37 | + <a class="pagination-item__link" href="{page_link|url}{last_page|attr}{hash|attr}" data-page="{last_page|attr}"> |
| 38 | + {last_page|html} |
39 | 39 | </a> |
40 | 40 | </li> |
41 | 41 | {/hellip_end} |
42 | 42 | {?next_page} |
43 | 43 | <li class="arrow arrow-right"> |
44 | | - <a class="paginate" href="{page_link}{next_page}{hash}" data-page="{next_page}"> |
45 | | - <span class="is-sr-only">{S.next}</span> |
| 44 | + <a class="paginate" href="{page_link|url}{next_page|attr}{hash|attr}" data-page="{next_page|attr}"> |
| 45 | + <span class="is-sr-only">{S.next|html}</span> |
46 | 46 | {>"ui/icon" icon="chevron-right" class="icon--medium" aria-hidden="true" /} |
47 | 47 | </a> |
48 | 48 | </li> |
|
0 commit comments