Page MenuHomePhabricator

[evas_textblock] Markup translation from <br/> to <ps/>
Closed, ResolvedPublic

Description

When a textblock string is modified by evas_textblock_cursor_range_delete(), <br/> is translated to <ps/> and <br/> newline disappears.
Since <ps/> is not a newline, the textblock string is not the same as users expect.

Test Plan>

  1. Set textblock as follows. "A<br/><br/>B"
  2. Delete "A<br/>" by using evas_textblock_cursor_range_delete().
  3. The textblock becomes as follows. "<ps/>B"
tasn added a comment.Mar 31 2016, 3:04 AM

This is weird. Could you please provide a test case?

Jaehyun_Cho updated the task description. (Show Details)Mar 31 2016, 3:37 AM

I modified the Test Plan. The input string is modified from "A<br/>B" to "A<br/><br/>B" and deleted string from "A" to "A<br/>".
Here is the test case.

stefan_schmidt triaged this task as Normal priority.Feb 10 2017, 6:54 AM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:59 AM
zmike edited projects, added efl: widgets; removed Restricted Project.Jun 11 2018, 8:16 AM