docs: Improve GtkLabel rendering
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Apr 2023 12:06:11 +0000 (12:06 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 06:56:28 +0000 (08:56 +0200)
By adding some missing links & avoid the browser
from rendering the entities as their equivalent symbols

gtk/gtklabel.c

index 3df6d2683e7aad25000a87fba5a1d0c93fdefeed..5342ac7833571ca7eb43c7e7fe37990ac6cec5e3 100644 (file)
  * (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 &lt;, &gt;, and &amp;.
+ * The markup passed to [method@Gtk.Label.set_markup] must be valid; for example,
+ * literal `<`, `>` and `&` characters must be escaped as `&lt;`, `&gt;`, and `&amp;`.
  * 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