mirror of https://gitlab.com/curben/blog
fix(paginator): disable escape
This commit is contained in:
parent
fb78e67e55
commit
e953758c88
|
@ -17,12 +17,13 @@
|
||||||
<% if (page.total > 1) { %>
|
<% if (page.total > 1) { %>
|
||||||
<nav id="page-nav" class="page-nav">
|
<nav id="page-nav" class="page-nav">
|
||||||
<%
|
<%
|
||||||
let prev_text = '« ' + __('prev')
|
const prev_text = '« ' + __('prev')
|
||||||
let next_text = __('next') + ' »'
|
const next_text = __('next') + ' »'
|
||||||
%>
|
%>
|
||||||
<%- paginator({
|
<%- paginator({
|
||||||
prev_text: prev_text,
|
prev_text: prev_text,
|
||||||
next_text: next_text
|
next_text: next_text,
|
||||||
|
escape: false
|
||||||
}) %>
|
}) %>
|
||||||
</nav>
|
</nav>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in New Issue