Hi Felix,

So, with every '&' the System went wrong. Is there an easy way to mask '&' instead of replacing it with '&'?

Use gobject.markup_escape_text:

  gobject.markup_escape_text("This & <That>")
  # -->  'This &amp; &lt;That&gt;'
That's the thing I was looking for.

Thanks,

Volker

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to