[gtk-doc] Don't interpret <http://foo.com> as markup



commit f1e121cd3ea66c9bf099bfb1020a44b1bc792f1b
Author: William Jon McCann <william jon mccann gmail com>
Date:   Fri Feb 7 16:20:36 2014 -0500

    Don't interpret <http://foo.com> as markup
    
    Let it fall into a paragraph and parse it as a link.

 gtkdoc-mkdb.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 615654a..60d2c93 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -4833,7 +4833,7 @@ sub MarkDownParseBlocks {
       my $tag = $1;
       my $is_self_closing = defined($2);
 
-      if (! $MD_TEXT_LEVEL_ELEMENTS{$tag}) {
+      if (! $MD_TEXT_LEVEL_ELEMENTS{$tag} && $tag ne "http") {
         push @md_blocks, $md_block;
 
         if ($is_self_closing) {


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