Fix @ sign in e-mail address of the PDF resume
This commit is contained in:
parent
27c2caf47c
commit
5f5bfb7854
@ -17,7 +17,7 @@ def resumepdf(request):
|
|||||||
body = render_to_string('basics/resume.html', {
|
body = render_to_string('basics/resume.html', {
|
||||||
'resume_link': resumelink(request),
|
'resume_link': resumelink(request),
|
||||||
'pdf': True
|
'pdf': True
|
||||||
})
|
}).replace('<span class="at-obfuscation"></span>', '@')
|
||||||
dst = StringIO()
|
dst = StringIO()
|
||||||
pdf = pisa.CreatePDF(body, dst)
|
pdf = pisa.CreatePDF(body, dst)
|
||||||
pdf_data = dst.getvalue()
|
pdf_data = dst.getvalue()
|
||||||
|
Loading…
Reference in New Issue
Block a user