diff --git a/schort.py b/schort.py index 84be534..9959773 100755 --- a/schort.py +++ b/schort.py @@ -26,8 +26,9 @@ def short(shortLink=""): return escape(url) else: if noauto: - url = escape(url) - return "" + url + "" + url = str(escape(url)) + html = "" + url + "" + return html else: return redirect(url, code=301) # Redirect to long URL saved in the database else: