From 7216f71825bacd4b060a6395ad0597ff27bd3530 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Thu, 1 Apr 2021 19:21:57 +0100 Subject: [PATCH] docs: Escape tags in GtkBuilder description Fixes the tags and the rest of the gi-docgen created HTML page not being visible in a browser. --- gtk/gtkbuilder.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 8a92d93fe4..e06fda638a 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -66,13 +66,13 @@ * calling [method@Gtk.Builder.set_translation_domain] on the builder. * * Objects are described by `` elements, which can contain - * elements to set properties, `` elements which + * `` elements to set properties, `` elements which * connect signals to handlers, and `` elements, which describe * child objects (most often widgets inside a container, but also e.g. * actions in an action group, or columns in a tree model). A `` * element contains an `` element which describes the child object. * - * The target toolkit version(s) are described by elements, + * The target toolkit version(s) are described by `` elements, * the “lib” attribute specifies the widget library in question (currently * the only supported value is “gtk”) and the “version” attribute specifies * the target version in the form “``.``”. `GtkBuilder` will @@ -93,7 +93,7 @@ * underscores) for its own purposes. * * Setting properties of objects is pretty straightforward with the - * element: the “name” attribute specifies the name of the + * `` element: the “name” attribute specifies the name of the * property, and the content of the element specifies the value. * If the “translatable” attribute is set to a true value, GTK uses * `gettext()` (or `dgettext()` if the builder has a translation domain set) @@ -148,7 +148,7 @@ * * # Signal handlers and function pointers * - * Signal handlers are set up with the element. The “name” + * Signal handlers are set up with the `` element. The “name” * attribute specifies the name of the signal, and the “handler” attribute * specifies the function to connect to the signal. * The remaining attributes, “after”, “swapped” and “object”, have the @@ -198,7 +198,7 @@ * These XML fragments are explained in the documentation of the * respective objects. * - * A