summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-08-23 12:34:53 +0200
committerAnton Khirnov <anton@khirnov.net>2023-08-23 12:44:57 +0200
commit9e1c4456dee1a1799d54d43b6c09c55d8ddb7cb8 (patch)
tree2f1be0d70e77fd78cbe2e4fae1cd4b4534467b0e /setup.py
parent7515515cb889c6bb8435c7eae923891d6b28dd8e (diff)
mail/envelope: improve the parse_template() algorithmHEADmaster
It currently assumes that the string to be parsed contains LF-separated lines. This assumption is in general wrong, because the string may be written by the user's text editor and is thus outside of our control and may contain anything. In addition, since emails should use CRLF line endings, it is arguably more correct for text editors to write CRLF to .eml files. E.g. recent versions of vim do exactly that by default. Change the parsing code to accept any of CR/LF/CRLF line endings.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions