[evolution] Composer: Disable visual wrapping of anchors in Plain Text mode



commit 04e03c08c244df686e7fd272396c3f90be4a65fb
Author: Milan Crha <mcrha redhat com>
Date:   Tue Mar 9 14:05:36 2021 +0100

    Composer: Disable visual wrapping of anchors in Plain Text mode
    
    Related to https://gitlab.gnome.org/GNOME/evolution/issues/71

 src/modules/webkit-editor/e-webkit-editor.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/modules/webkit-editor/e-webkit-editor.c b/src/modules/webkit-editor/e-webkit-editor.c
index c2cc0d9ec8..0c08104856 100644
--- a/src/modules/webkit-editor/e-webkit-editor.c
+++ b/src/modules/webkit-editor/e-webkit-editor.c
@@ -1543,15 +1543,13 @@ webkit_editor_update_styles (EContentEditor *editor)
                        "  word-break: break-all; \n"
                        "}\n");
        } else {
-               /* Temporarily disabled due to https://gitlab.gnome.org/GNOME/evolution/issues/71
-                  respectively https://bugs.webkit.org/show_bug.cgi?id=187848 */
-               /* g_string_append (
+               g_string_append (
                        stylesheet,
                        "a "
                        "{\n"
-                       "  display: inline-block; \n"
-                       "  word-break: normal; \n"
-                       "}\n"); */
+                       "  word-wrap: normal; \n"
+                       "  word-break: keep-all; \n"
+                       "}\n");
        }
 
        citation_color = g_settings_get_string (


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]