]> source.dussan.org Git - rspamd.git/commit
[Minor] Insert spaces only if text part is not suspected to be a link
authorMikhail Galanin <mgalanin@mimecast.com>
Tue, 18 Sep 2018 09:34:37 +0000 (10:34 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Tue, 18 Sep 2018 09:34:37 +0000 (10:34 +0100)
commit2d6d215df32c129b15502efdf5ec3c21c3d167ff
tree8795a09e92950f6bc41271947ae1381e0b817bce
parent5b571379f3a2493f53eabd331da42ddcdcce4921
[Minor] Insert spaces only if text part is not suspected to be a link

sa_body requires newlines to be replaces with spaces.
However, some email clients highlight URL in triangular braces (<>) even if it's
broken by a newline. Let's just remove \n if current text part potentially
can be such URL.
src/libmime/message.c