From 52a112dd2eb19835e5ba6b6c5c89ccbd78ffde76 Mon Sep 17 00:00:00 2001 From: tasn Date: Wed, 14 Dec 2011 13:27:15 +0000 Subject: [PATCH] Evas textblock: Made 'br' and 'tab' default tags. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66191 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_object_textblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index 46e8441..6ee074d 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -3030,14 +3030,14 @@ _format_finalize(Evas_Object *obj, Evas_Object_Textblock_Format *fmt) * @def _IS_TAB(item) */ #define _IS_TAB(item) \ - (!strcmp(item, "\t") || !strcmp(item, "\\t")) + (!strcmp(item, "tab") || !strcmp(item, "\t") || !strcmp(item, "\\t")) /** * @internal * Returns true if the item is a line spearator, false otherwise * @def _IS_LINE_SEPARATOR(item) */ #define _IS_LINE_SEPARATOR(item) \ - (!strcmp(item, "\n") || !strcmp(item, "\\n")) + (!strcmp(item, "br") || !strcmp(item, "\n") || !strcmp(item, "\\n")) /** * @internal * Returns true if the item is a paragraph separator, false otherwise -- 2.7.4