Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue or Response Details are plain (hard to read) text in html notification email #14

Open
jnachtigall opened this issue Mar 18, 2014 · 0 comments

Comments

@jnachtigall
Copy link

In https://github.com/collective/Products.Poi/blob/master/Products/Poi/browser/templates/poi_email_new_issue_html.pt#L36 and https://github.com/collective/Products.Poi/blob/master/Products/Poi/browser/templates/poi_email_new_response_html.pt#L46 there are issue_details and response_details fields.

However, these fields get filled with plain text content. That is, in https://github.com/collective/Products.Poi/blob/master/Products/Poi/browser/notifications.py there are issueDetails and responseDetails variables, these are both used for plain text and html mails. In html mail, this means that line breaks \n are not visible because in html line breaks should actually be <br />. Moreover, included links are not clickable. This makes the notification mail not very readable in most desktop and webmail clients as the field's content is not formatted anymore but everything is in one line.

For html notification the issue and resonse details field should rather be converted from text/x-web-intelligent to html instead of plain text.

Sorry, I have no time to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant