diff --git a/pages/copyvios.mako b/pages/copyvios.mako index 56efa3f..f1517ca 100644 --- a/pages/copyvios.mako +++ b/pages/copyvios.mako @@ -4,7 +4,7 @@ <% query, bot, all_langs, all_projects, page, result = main(environ) %> % if query.project and query.lang and query.title and not page:
-

The given site (project=${query.project}, language=${query.lang}) doesn't seem to exist. It may also be closed or private. Confirm its URL.

+

The given site (project=${query.project | h}, language=${query.lang | h}) doesn't seem to exist. It may also be closed or private. Confirm its URL.

% elif query.project and query.lang and query.title and page and not result:
@@ -23,9 +23,9 @@ <% selected_lang = query.orig_lang if query.orig_lang else cookies["EarwigDefaultLang"].value if "EarwigDefaultLang" in cookies else bot.wiki.get_site().lang %> % for code, name in all_langs: % if code == selected_lang: - + % else: - + % endif % endfor @@ -34,9 +34,9 @@ <% selected_project = query.project if query.project else cookies["EarwigDefaultProject"].value if "EarwigDefaultProject" in cookies else bot.wiki.get_site().project %> % for code, name in all_projects: % if code == selected_project: - + % else: - + % endif % endfor @@ -80,16 +80,16 @@
% if result.violation: -

${page.title | h} is a suspected violation of ${result.url | urlstrip}.

+

${page.title | h} is a suspected violation of ${result.url | urlstrip, h}.

% else: -

No violations detected in ${page.title | h}.

+

No violations detected in ${page.title | h}.

% endif