| 57 | |
| 58 | ==== Q: Why do ticket notification emails contain unexpected backslash characters? |
| 59 | |
| 60 | You installed Trac from PyPI using `easy_install` or `pip`, along with Genshi 0.7. Your ticket notification emails have unexpected backslash characters (for an example, see #11572). |
| 61 | |
| 62 | **A:** This is due to a defect in Genshi 0.7 (genshi:#569). Until Genshi 0.7.1 is released, your options are: |
| 63 | * Downgrade to Genshi 0.6.1 |
| 64 | * Convert the line endings of the ticket notification email template from `CRLF` to `LF`. For example, on a Unix-like system you can run the following from the directory in which the egg is installed (you may need elevated privileges, and your egg may have a different name depending on your Trac and Python versions): |
| 65 | {{{#!sh |
| 66 | dos2unix Trac-1.0.1-py2.7.egg/trac/ticket/templates/ticket_notify_email.txt |
| 67 | }}} |