That part shouldn't be there...

looper
Ben Niemann 2019-01-11 11:41:59 +01:00
parent 770b694426
commit 948ee29ad3
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class BlogPost(odasite.blog.BlogPost):
old_content = old_content[idx+2:]
if cmd == 'img':
content += '<a href="/img/{name}" onclick="javascript:alert(\'yo\')"><img src="/img/{name}" style="max-width: 80%; width: 30em;"></a>'.format(name=body)
content += '<a href="/img/{name}"><img src="/img/{name}" style="max-width: 80%; width: 30em;"></a>'.format(name=body)
else:
raise ValueError(cmd)