Modify ↓
#11365 closed defect (worksforme)
Blank mail
Reported by: | Owned by: | Jun Omae | |
---|---|---|---|
Priority: | normal | Component: | TracHtmlNotificationPlugin |
Severity: | normal | Keywords: | |
Cc: | regis.patroix@… | Trac Release: | 0.12 |
Description
Hi,
When viewing email on Gmail or using Thunderbird, there's no content, (blank mail).
If we choose "Message Body As" "Plain text" in Thunderbird, we can see the content of the email.
The setup is :
- Trac 0.12.2
- Python 2.7.2
- Apache 2.2.16
Best regards.
Attachments (1)
Change History (5)
comment:1 Changed 9 years ago by
Priority: | highest → normal |
---|---|
Severity: | blocker → normal |
Changed 9 years ago by
Attachment: | blank_mail.txt added |
---|
comment:2 Changed 9 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Workaround is removing <script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"/>
.
comment:3 follow-up: 4 Changed 9 years ago by
You're right.
Fixed using :
return container.as_string().replace('<script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"/>','')
Instead of :
return container.as_string()
In notification.py
comment:4 Changed 9 years ago by
Fixed using :
return container.as_string().replace('<script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"/>','')
I will not change for it.
Your inserted script element is incorrect. The script element needs a closed tag.
<script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"/>
should be the following.
<script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
Note: See
TracTickets for help on using
tickets.
Could you please post the email source (included both headers and body)?