comic page fixes
This commit is contained in:
parent
6d04809658
commit
b91603e2a9
1 changed files with 3 additions and 3 deletions
|
@ -215,7 +215,7 @@ def get_html_index(testinfo):
|
||||||
if entry["error"]:
|
if entry["error"]:
|
||||||
title = entry["error"]
|
title = entry["error"]
|
||||||
elif entry["description"]:
|
elif entry["description"]:
|
||||||
title = entry["description"]
|
title = entry["description"][:100]
|
||||||
else:
|
else:
|
||||||
title = entry["name"]
|
title = entry["name"]
|
||||||
args = {
|
args = {
|
||||||
|
@ -262,8 +262,8 @@ def write_html_comic(key, entry, outputdir, date):
|
||||||
|
|
||||||
|
|
||||||
def quote(arg):
|
def quote(arg):
|
||||||
"""CGI-escape argument."""
|
"""CGI-escape and jinja-escape the argument."""
|
||||||
return cgi.escape(arg, quote=True)
|
return cgi.escape(arg.replace('{', '').replace('}', ''), quote=True)
|
||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
|
|
Loading…
Reference in a new issue