diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-05-11 11:03:45 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-05-11 11:03:45 +0200 |
commit | eda92ed4c0d2735144df8fa2136584de69634bdb (patch) | |
tree | ab1f817904ed365e657380d784107ef4e14f18ce /program/js/editor.js | |
parent | 638ebf69c4bdc3717d8ae535ec3b1f4b753f5856 (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.
Diffstat (limited to 'program/js/editor.js')
-rw-r--r-- | program/js/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/editor.js b/program/js/editor.js index af877d7b5..d23d2b26f 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -37,7 +37,7 @@ function rcmail_editor_init(config) apply_source_formatting: true, theme: 'advanced', language: config.lang, - content_css: config.skin_path + '/editor_content.css', + content_css: config.skin_path + '/editor_content.css?v2', theme_advanced_toolbar_location: 'top', theme_advanced_toolbar_align: 'left', theme_advanced_buttons3: '', |