From 4a61ca28b1daeab70d89db6ec2f00511e0db2dd5 Mon Sep 17 00:00:00 2001 From: Luis Menina Date: Sat, 21 Dec 2013 15:54:29 +0100 Subject: [PATCH] Fixed GtkLabel documentation on links An escaped '<' wasn't complete, the 'lt' part was missing. --- docs/reference/gtk/tmpl/gtklabel.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/gtk/tmpl/gtklabel.sgml b/docs/reference/gtk/tmpl/gtklabel.sgml index a453771a7..0d96a5e28 100644 --- a/docs/reference/gtk/tmpl/gtklabel.sgml +++ b/docs/reference/gtk/tmpl/gtklabel.sgml @@ -172,7 +172,7 @@ to regular Pango markup. The markup for links is borrowed from HTML, using the way they appear in web browsers, with colored, underlined text. The title attribute is displayed as a tooltip on the link. An example looks like this: -gtk_label_set_markup (label, "Go to the <a href=\"http://www.gtk.org\" title=\"&lt;i&gt;Our&/i&gt; website\">GTK+ website</a> for more..."); +gtk_label_set_markup (label, "Go to the <a href=\"http://www.gtk.org\" title=\"&lt;i&gt;Our&lt;/i&gt; website\">GTK+ website</a> for more..."); It is possible to implement custom handling for links and their tooltips with the #GtkLabel::activate-link signal and the gtk_label_get_current_uri() function.