Description

Converts a given (UTF-8) text to a markup-compatible string. This is used mainly to set a plain text with the $.markup_set property.

Since 1.21.

Signature

text_to_markup @class {
    params {
        @in text: free(string, free);
    }
    return: mstring;
}

C signature

char *efl_text_markup_util_text_to_markup(Efl_Class *klass, const char *text);

Parameters

  • text (in) - The text (UTF-8) to convert to markup

Implemented by

  • Efl.Text.Markup_Util.text_to_markup