Aleksander Machniak
4b5e9c10f9
Fix handling of multiple link references with the same index in plain text message ( #8021 )
...
Second attempt that should work on all supported PHP versions
2021-04-25 10:57:17 +02:00
Aleksander Machniak
dc89e18a0f
Revert "Fix handling of multiple link references with the same index in plain text message ( #8021 )"
...
This reverts commit 2be7e1cb61 .
The code used a PHP>=7.4 feature.
2021-04-25 09:15:05 +02:00
Aleksander Machniak
2be7e1cb61
Fix handling of multiple link references with the same index in plain text message ( #8021 )
2021-04-25 09:05:51 +02:00
Aleksander Machniak
39b3c0049e
Fix cross-site scripting (XSS) via HTML or Plain text messages with malicious content [CVE-2020-35730]
...
Credits to Alex Birnberg <birnbergalex@gmail.com >
2020-12-27 18:27:42 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +01:00
Aleksander Machniak
47d9ed6d0c
Add support for PHPUnit 6 and 7 ( #6870 )
...
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned
We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
2019-12-28 09:37:45 +01:00
dfukagaw28
89a4134064
Add support for DelSp=Yes messages ( #5702 )
2017-03-22 08:30:36 +01:00
Aleksander Machniak
afd090672c
Small performance optimization
2016-05-08 11:52:54 +02:00
Aleksander Machniak
c4ad7edd53
Fix font artifacts in text2html conversion ( #1490353 )
...
Use white-space:nowrap elements instead of unicode word-joiner character
2015-05-19 10:54:16 +02:00
Aleksander Machniak
d86ff98339
Fix font artifact in Google Chrome on Windows ( #1490353 )
2015-04-09 15:55:30 +02:00
Aleksander Machniak
59b765d839
Don't remove links when html signature is converted to text ( #1489621 )
...
Fix so when switching editor mode original version of signature is used (#1488849 )
2014-05-18 09:01:12 +02:00
Aleksander Machniak
c0a5aa5f5f
Improved handling of new-lines in quoted paragraphs on text2html conversion
2014-05-15 10:41:35 +02:00
Aleksander Machniak
f0992426d9
Bring back the old behaviour where text messages without format=flowed are auto-wrapped.
...
Make it the default in text2html class.
2014-05-13 19:40:00 +02:00
Aleksander Machniak
eda92ed4c0
Improved display of plain text messages and text to HTML conversion ( #1488937 )
...
Now instead of <pre> we use <div class="pre"> styled with monospace
font. We replace whitespace characters with non-breaking spaces where
needed. I.e. plain text is always unwrappable, until it uses format=flowed,
in such a case only flowed paragraphs are wrappable.
Also conversion of text to HTML in compose editor was modified in the same way.
2014-05-11 11:03:45 +02:00