From: Bilal Elmoussaoui Date: Sat, 1 Apr 2023 12:06:11 +0000 (+0000) Subject: docs: Improve GtkLabel rendering X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~4^2~10^2~59 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=67d8b4c97664ebca9cbed5ee74f1870b29017ffd;p=gtk4.git docs: Improve GtkLabel rendering By adding some missing links & avoid the browser from rendering the entities as their equivalent symbols --- diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 3df6d2683e..5342ac7833 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -175,11 +175,11 @@ * (See the Pango manual for complete documentation] of available * tags, [func@Pango.parse_markup]) * - * The markup passed to gtk_label_set_markup() must be valid; for example, - * literal <, > and & characters must be escaped as <, >, and &. + * The markup passed to [method@Gtk.Label.set_markup] must be valid; for example, + * literal `<`, `>` and `&` characters must be escaped as `<`, `>`, and `&`. * If you pass text obtained from the user, file, or a network to * [method@Gtk.Label.set_markup], you’ll want to escape it with - * g_markup_escape_text() or g_markup_printf_escaped(). + * [func@GLib.markup_escape_text] or [func@GLib.markup_printf_escaped]. * * Markup strings are just a convenient way to set the [struct@Pango.AttrList] * on a label; [method@Gtk.Label.set_attributes] may be a simpler way to set