Aleksander Machniak
2014-05-11 eda92ed4c0d2735144df8fa2136584de69634bdb
refs
author Aleksander Machniak <alec@alec.pl>
Sunday, May 11, 2014 05:03 -0400
committer Aleksander Machniak <alec@alec.pl>
Sunday, May 11, 2014 05:03 -0400
commiteda92ed4c0d2735144df8fa2136584de69634bdb
tree ab1f817904ed365e657380d784107ef4e14f18ce tree | zip | gz
parent 638ebf69c4bdc3717d8ae535ec3b1f4b753f5856 view | diff
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.
3 files added
12 files modified
651 ■■■■ changed files
plugins/hide_blockquote/hide_blockquote.js 2 ●●● diff | view | raw | blame | history
program/js/app.js 70 ●●●●● diff | view | raw | blame | history
program/js/editor.js 2 ●●● diff | view | raw | blame | history
program/lib/Roundcube/rcube_mime.php 22 ●●●● diff | view | raw | blame | history
program/lib/Roundcube/rcube_text2html.php 277 ●●●●● diff | view | raw | blame | history
program/steps/mail/compose.inc 12 ●●●● diff | view | raw | blame | history
program/steps/mail/func.inc 83 ●●●●● diff | view | raw | blame | history
program/steps/mail/sendmail.inc 25 ●●●● diff | view | raw | blame | history
program/steps/utils/text2html.inc 28 ●●●●● diff | view | raw | blame | history
skins/classic/editor_content.css 13 ●●●●● diff | view | raw | blame | history
skins/classic/mail.css 11 ●●●●● diff | view | raw | blame | history
skins/larry/editor_content.css 13 ●●●●● diff | view | raw | blame | history
skins/larry/mail.css 11 ●●●●● diff | view | raw | blame | history
tests/Framework/Text2Html.php 81 ●●●●● diff | view | raw | blame | history
tests/phpunit.xml 1 ●●●● diff | view | raw | blame | history