Evas textblock: Fixed   handling.

It now translates to a real nbsp, and not just a space.

SVN revision: 61527
This commit is contained in:
Tom Hacohen 2011-07-20 14:13:33 +00:00
parent 315d354354
commit bdbc3b8398
1 changed files with 1 additions and 2 deletions

View File

@ -701,13 +701,12 @@ _line_free(Evas_Object_Textblock_Line *ln)
*/
static const char escape_strings[] =
/* most common escaped stuff */
" \0" "\x20\0" /* NOTE: this here to avoid escaping to &nbsp */
" \0" "\x20\0" /* NOTE: we allow nsbp's to break as we map early - maybe map to ascii 0x01 and then make the rendering code think 0x01 -> 0x20 */
""\0" "\x22\0"
"&\0" "\x26\0"
"<\0" "\x3c\0"
">\0" "\x3e\0"
/* all the rest */
" \0" "\xc2\xa0\0"
"¡\0" "\xc2\xa1\0"
"¢\0" "\xc2\xa2\0"
"£\0" "\xc2\xa3\0"