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



commit 970d6fd34f6c5ef351cd58f25237d44a5e8e968f
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 5f3aba6..8b90a43 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -7431,8 +7431,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]