Elementary: Fixed utf8->markup. Should probably just put it all in one place or at least depend on the textblock working on.

SVN revision: 51810
This commit is contained in:
Tom Hacohen 2010-09-01 14:30:31 +00:00
parent fabb5d67bb
commit 5f220d5f76
1 changed files with 2 additions and 0 deletions

View File

@ -900,6 +900,8 @@ _text_to_mkup(const char *text)
str = _str_append(str, ">", &str_len, &str_alloc);
else if (ch == '&')
str = _str_append(str, "&", &str_len, &str_alloc);
else if (ch == 0x2029) /* PS */
str = _str_append(str, "<ps>", &str_len, &str_alloc);
else
{
char tstr[16];