mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
docs: Improve GtkLabel rendering
By adding some missing links & avoid the browser from rendering the entities as their equivalent symbols
This commit is contained in:
parent
a3f216be00
commit
e95c50ca4e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user