From 5f5bfb7854b4cf2686c54dc254164c8e24875df3 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 22 Jun 2014 15:42:05 +0000 Subject: [PATCH] Fix @ sign in e-mail address of the PDF resume --- basics/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basics/views.py b/basics/views.py index 96137f4..70e2ad8 100644 --- a/basics/views.py +++ b/basics/views.py @@ -17,7 +17,7 @@ def resumepdf(request): body = render_to_string('basics/resume.html', { 'resume_link': resumelink(request), 'pdf': True - }) + }).replace('', '@') dst = StringIO() pdf = pisa.CreatePDF(body, dst) pdf_data = dst.getvalue()