瀏覽代碼

Trim function result properly.

pull/24/head
Ben Kurtovic 10 年之前
父節點
當前提交
ffbff35b28
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      templates/index.mako

+ 2
- 2
templates/index.mako 查看文件

@@ -116,9 +116,9 @@
% endif
</%def>
% if result.violation:
<h2 id="cv-result-header">${get_page_link()} is a suspected violation of <a href="${result.url | h}">${result.url | urlstrip, h}</a>.</h2>
<h2 id="cv-result-header">${get_page_link() | trim} is a suspected violation of <a href="${result.url | h}">${result.url | urlstrip, h}</a>.</h2>
% else:
<h2 id="cv-result-header">No violations detected in ${get_page_link()}.</h2>
<h2 id="cv-result-header">No violations detected in ${get_page_link() | trim}.</h2>
% endif
<ul id="cv-result-list">
% if not result.violation and not query.url:


Loading…
取消
儲存