From ffbff35b28510502b45cf039b754285b16196c09 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 15 Jul 2014 21:14:09 -0400 Subject: [PATCH] Trim function result properly. --- templates/index.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.mako b/templates/index.mako index ccc5d28..2d1e9b9 100644 --- a/templates/index.mako +++ b/templates/index.mako @@ -116,9 +116,9 @@ % endif % if result.violation: -

${get_page_link()} is a suspected violation of ${result.url | urlstrip, h}.

+

${get_page_link() | trim} is a suspected violation of ${result.url | urlstrip, h}.

% else: -

No violations detected in ${get_page_link()}.

+

No violations detected in ${get_page_link() | trim}.

% endif