[gtk-doc] mkhtml2: add tag converter for <replaceable>



commit 1d8a6b2693920859dfd38d3f43f2138af52fe315
Author: Stefan Sauer <ensonic users sf net>
Date:   Sun Mar 25 20:09:44 2018 +0200

    mkhtml2: add tag converter for <replaceable>

 gtkdoc/mkhtml2.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc/mkhtml2.py b/gtkdoc/mkhtml2.py
index 62931a4..79ba0e9 100644
--- a/gtkdoc/mkhtml2.py
+++ b/gtkdoc/mkhtml2.py
@@ -283,7 +283,7 @@ def xml_get_title(xml):
 def convert_acronym(ctx, xml):
     # TODO: resolve title from glossaries (key=glossentry/glossterm, value=glossentry/glossdef)
     # print a sensible warning if missing
-    title='?'
+    title = '?'
     result = ['<acronym title="%s"><span class="acronym">%s</span></acronym>' % (title, xml.text)]
     if xml.tail:
         result.append(xml.tail)
@@ -651,6 +651,7 @@ convert_tags = {
     'refsect1': convert_refsect1,
     'refsect2': convert_refsect2,
     'refsect3': convert_refsect3,
+    'replaceable': convert_em_class,
     'returnvalue': convert_span,
     'row': convert_row,
     'screen': convert_pre,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]