Re: label char '&'



On Sun, 2005-02-13 at 18:20 +0100, ALLs soft wrote:
gtk_label_set_markup (GTK_LABEL (naziv_pjesme), "<span weight=\"bold\" 
size=\"xx-large\">Naziv pjesme</span>");

why i cant print any string with '&'?

The & is special in XML, so you need to escape it.
Either use &amp; or &#38;

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin
Pictures from old books: http://www.holoweb.net/~liam/pictures/oldbooks/
IRC (chat) programs: www.ircreviews.org/clients/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]