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"]:
|
||||
title = entry["error"]
|
||||
elif entry["description"]:
|
||||
title = entry["description"]
|
||||
title = entry["description"][:100]
|
||||
else:
|
||||
title = entry["name"]
|
||||
args = {
|
||||
|
@ -262,8 +262,8 @@ def write_html_comic(key, entry, outputdir, date):
|
|||
|
||||
|
||||
def quote(arg):
|
||||
"""CGI-escape argument."""
|
||||
return cgi.escape(arg, quote=True)
|
||||
"""CGI-escape and jinja-escape the argument."""
|
||||
return cgi.escape(arg.replace('{', '').replace('}', ''), quote=True)
|
||||
|
||||
|
||||
def main(args):
|
||||
|
|
Loading…
Reference in a new issue