summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-23 16:14:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-23 18:24:18 -0400
commit1e00c887ec39e82aa2957ed7b1f9c30300515d74 (patch)
tree76598d57f246683ef28ae44db2ae119826cf2840
parent561d3c68a00af7359f891de4a0b5e2b3e27e6b08 (diff)
downloadgtk+-1e00c887ec39e82aa2957ed7b1f9c30300515d74.tar.gz
docs: Work around escaping bugs
This is truly a russian doll of documentation formats: a string containing <> inside an xml fragment in an |[ ]| gtk-doc example in markdown in a doc comment. Sadly, something gets escaping wrong, so the <> end up literally in the docbook and mess up the last step of our document formatting, even after turning them into entities. Work around this with an extra level of entities that really shouldn't be necessary.
-rw-r--r--gtk/gtkshortcutcontroller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkshortcutcontroller.c b/gtk/gtkshortcutcontroller.c
index 1d4806b198..e427ae5ed8 100644
--- a/gtk/gtkshortcutcontroller.c
+++ b/gtk/gtkshortcutcontroller.c
@@ -50,7 +50,7 @@
* <property name='scope'>managed</property>
* <child>
* <object class='GtkShortcut'>
- * <property name='trigger'><![CDATA[<Control>k]]></property>
+ * <property name='trigger'>&amp;lt;Control&amp;gt;k</property>
* <property name='action'>activate</property>
* </object>
* </child>