After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756998 - Support |[<!-- language="plain" --> ]|
Support |[<!-- language="plain" --> ]|
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: 1.25
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-23 03:05 UTC by Matthias Clasen
Modified: 2015-10-27 18:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support |[<!-- language="plain" --> ]| (2.16 KB, patch)
2015-10-23 03:05 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2015-10-23 03:05:23 UTC
Sometimes, having a simple verbatim element (like <screen> in
docbook) comes in handy. Since we don't allow direct xml markup
in GTK+'s doc comments anymore, make

|[<!-- language="plain -->
...
]|

work for this case.
Comment 1 Matthias Clasen 2015-10-23 03:05:31 UTC
Created attachment 313904 [details] [review]
Support |[<!-- language="plain" --> ]|
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2015-10-27 03:29:54 UTC
Review of attachment 313904 [details] [review]:

::: gtkdoc-mkdb.in
@@ +5441,3 @@
+        } else {
+          $output .= "<informalexample><programlisting language=\"" . $block->{"language"} . "\"><![CDATA[\n";
+       }

nit: add one more space
Comment 3 Matthias Clasen 2015-10-27 18:06:55 UTC
Attachment 313904 [details] pushed as 6a1615b - Support |[<!-- language="plain" --> ]|