[evolution/gnome-3-20] EHTMLEditorView - Restore the selection end mark correctly when processing HTML to plain text



commit ef30a9a7704c6e7962b27705d58adf2e00317a88
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Apr 25 11:24:20 2016 +0200

    EHTMLEditorView - Restore the selection end mark correctly when processing HTML to plain text
    
    Otherwise the ##SELECTON_END## string could be left in the output.

 e-util/e-html-editor-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index b709010..1503a72 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -7486,8 +7486,8 @@ replace_selection_markers (gchar **text)
 
                tmp = e_str_replace_string (
                        *text,
-                       "##SELECTION_START##",
-                       "<span id=\"-x-evo-selection-start-marker\"></span>");
+                       "##SELECTION_END##",
+                       "<span id=\"-x-evo-selection-end-marker\"></span>");
 
                g_free (*text);
                *text = g_string_free (tmp, FALSE);


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