[gtk-doc] mkdb: revert e115d6065180871b20eec971f5934f67b8323c3b



commit 49dde691784a889ba2c4a68c853f6467a3051c64
Author: Stefan Sauer <ensonic users sf net>
Date:   Sun Feb 9 13:06:07 2014 +0100

    mkdb: revert e115d6065180871b20eec971f5934f67b8323c3b
    
    A generic schema blacklist would apparently break things. This needs an explanation.

 gtkdoc-mkdb.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 413cfcf..bf80149 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -4848,8 +4848,9 @@ sub MarkDownParseBlocks {
       # markup, including <?xml version="1.0"?>
       my $tag = $1;
       my $is_self_closing = defined($2);
-      # skip uri (we're matching the schema part according to RFC 2396 only)
-      if (! $MD_TEXT_LEVEL_ELEMENTS{$tag} && $tag !~ /^[a-zA-Z][a-zA-Z0-9+.-]*:\/\//) {
+      # FIXME: why do we need to skip https? here, if we generalize this to all
+      # uri schemes we get parsing errors
+      if (! $MD_TEXT_LEVEL_ELEMENTS{$tag} && $tag !~ /^https?/) {
         push @md_blocks, $md_block;
 
         if ($is_self_closing) {


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