From 070d4fc43ef198f12b196f666c0295457f45cef2 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 8 May 2019 13:21:43 -0500 Subject: [PATCH] Force unicode string behavior for left/right arrow thingies ...hopefully this fixes an error we're suddenly seeing on a staging server? --- tailbone/templates/themes/falafel/base.mako | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tailbone/templates/themes/falafel/base.mako b/tailbone/templates/themes/falafel/base.mako index 84d22dba..aff3d1d6 100644 --- a/tailbone/templates/themes/falafel/base.mako +++ b/tailbone/templates/themes/falafel/base.mako @@ -176,14 +176,14 @@ % if show_prev_next is not Undefined and show_prev_next:
% if prev_url: - ${h.link_to("« Older", prev_url, class_='button autodisable')} + ${h.link_to(u"« Older", prev_url, class_='button autodisable')} % else: - ${h.link_to("« Older", '#', class_='button', disabled='disabled')} + ${h.link_to(u"« Older", '#', class_='button', disabled='disabled')} % endif % if next_url: - ${h.link_to("Newer »", next_url, class_='button autodisable')} + ${h.link_to(u"Newer »", next_url, class_='button autodisable')} % else: - ${h.link_to("Newer »", '#', class_='button', disabled='disabled')} + ${h.link_to(u"Newer »", '#', class_='button', disabled='disabled')} % endif
% endif