0001-emails-change-rst-paragraphs-so-manual-newlines-are-.patch
wcs/formdef.py | ||
---|---|---|
1393 | 1393 |
Hello, |
1394 | 1394 | |
1395 | 1395 |
[if-any user] |
1396 |
This mail is a reminder about the form you just submitted; you can consult it |
|
1397 |
with this link: [url] |
|
1396 |
This mail is a reminder about the form you just submitted; you can consult it with this link: [url] |
|
1398 | 1397 |
[else] |
1399 | 1398 |
This mail is a reminder about the form you just submitted. |
1400 | 1399 |
[end] |
wcs/qommon/emails.py | ||
---|---|---|
159 | 159 |
'report_level': 5}, |
160 | 160 |
config_section = None, |
161 | 161 |
enable_exit_status = None) |
162 |
# change paragraphs so manual newlines are considered. |
|
163 |
htmlmail = htmlmail.replace('<p>', '<p style="white-space: pre-line;">') |
|
162 | 164 |
except: |
163 | 165 |
htmlmail = None |
164 | 166 | |
165 |
- |