This should conform better to evas and what the function does.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@66182
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* Textblock markup: Support self closing format tags, i.e <br/>.
You should use <br/> and not <br>. The latter still works but it's use
is discouraged.
- * Textblock: Added evas_textblock_markup_to_plain.
+ * Textblock: Added evas_textblock_text_markup_to_utf8.
This lets you convert textblock markup to plain text.
This converts formats and everything correctly.
* @return an allocated plain text version of the markup
* @since 1.2.0
*/
-EAPI char *evas_textblock_markup_to_plain(const Evas_Object *obj, const char *text) EINA_WARN_UNUSED_RESULT EINA_MALLOC EINA_ARG_NONNULL(1, 2);
+EAPI char *evas_textblock_text_markup_to_utf8(const Evas_Object *obj, const char *text) EINA_WARN_UNUSED_RESULT EINA_MALLOC EINA_ARG_NONNULL(1, 2);
/**
* Creates a new textblock style.
}
EAPI char *
-evas_textblock_markup_to_plain(const Evas_Object *obj, const char *text)
+evas_textblock_text_markup_to_utf8(const Evas_Object *obj, const char *text)
{
/* FIXME: Can be done better, this is the least redundant way of doing it,
* but by far the slowest, when the time comes, this should be