path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
authorYoungbok Shin <>2018-07-02 16:17:33 +0300
committerDaniel Hirt <>2018-07-02 18:33:45 +0300
commitf6acd6f9e4de945f1eee7fe6cd7cd55cff570eb9 (patch)
treee9954d13651710841c3d1b677763fb17f99b4a7b /src/lib/evas/canvas/evas_object_textblock.c
parent6d6f943acda368353bc7235496d348c98c85eb7b (diff)
Evas Textblock: Don't convert <br/> to <ps/> after changing text
Summary: It was only happened when legacy newline is enabled. By default, legacy newline is enabled. As I know, legacy newline option has to change textblock's internal behavior. But, it shouldn't change the given original text. It fixes T3399. Test Plan: A Test case is included in Evas test suite. Reviewers: Jaehyun_Cho, z-wony, tasn, woohyun, herdsman, Blackmole, devilhorns Subscribers: #committers, zmike, raster, cedric, jpeg Tags: #efl Maniphest Tasks: T3399 Differential Revision:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textblock.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index b9712a2..652ac3e 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -10836,7 +10836,7 @@ _evas_textblock_cursor_format_append(Efl_Text_Cursor_Cursor *cur,
10836 Eina_Unicode insert_char; 10836 Eina_Unicode insert_char;
10837 /* Insert a visual representation according to the type of the 10837 /* Insert a visual representation according to the type of the
10838 format */ 10838 format */
10839 if (_IS_PARAGRAPH_SEPARATOR(o, format)) 10839 if (_IS_PARAGRAPH_SEPARATOR_SIMPLE(format))
10840 insert_char = _PARAGRAPH_SEPARATOR; 10840 insert_char = _PARAGRAPH_SEPARATOR;
10841 else if (_IS_LINE_SEPARATOR(format)) 10841 else if (_IS_LINE_SEPARATOR(format))
10842 insert_char = _NEWLINE; 10842 insert_char = _NEWLINE;