[valadoc] doclet/gtkdoc: Use <code> rather than <blockquote> in for monospace in the gtkdoc doclet



commit 64ebf6fee70d0e10584f68f64b49102de5c8968f
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Aug 14 23:40:58 2012 +0200

    doclet/gtkdoc: Use <code> rather than <blockquote> in for monospace in the gtkdoc doclet
    
    <blockquote> is a block-level element, but Valadocâs ``backtick syntax``
    for monospaced text is meant to be inline. Use <code> instead.
    
    Helps: https://bugzilla.gnome.org/show_bug.cgi?id=681721

 src/doclets/gtkdoc/commentconverter.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/doclets/gtkdoc/commentconverter.vala b/src/doclets/gtkdoc/commentconverter.vala
index 9582f4d..b585a0d 100644
--- a/src/doclets/gtkdoc/commentconverter.vala
+++ b/src/doclets/gtkdoc/commentconverter.vala
@@ -208,8 +208,8 @@ public class Gtkdoc.CommentConverter : ContentVisitor {
 			break;
 
 		case Run.Style.MONOSPACED:
-			current_builder.append ("<blockquote>");
-			tag = "blockquote";
+			current_builder.append ("<code>");
+			tag = "code";
 			break;
 		}
 		run.accept_children (this);



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