Hello community,

here is the log from the commit of package rubygem-kramdown for 
openSUSE:Factory checked in at 2017-09-12 19:57:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-kramdown (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-kramdown.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-kramdown"

Tue Sep 12 19:57:04 2017 rev:10 rq:523563 version:1.15.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-kramdown/rubygem-kramdown.changes        
2017-08-10 14:13:17.302440825 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-kramdown.new/rubygem-kramdown.changes   
2017-09-12 19:57:10.892004322 +0200
@@ -1,0 +2,6 @@
+Mon Sep 11 12:42:36 UTC 2017 - co...@suse.com
+
+- updated to version 1.15.0
+ see installed news.feed
+
+-------------------------------------------------------------------

Old:
----
  kramdown-1.14.0.gem

New:
----
  kramdown-1.15.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-kramdown.spec ++++++
--- /var/tmp/diff_new_pack.ynAEls/_old  2017-09-12 19:57:11.783878917 +0200
+++ /var/tmp/diff_new_pack.ynAEls/_new  2017-09-12 19:57:11.783878917 +0200
@@ -24,18 +24,18 @@
 #
 
 Name:           rubygem-kramdown
-Version:        1.14.0
+Version:        1.15.0
 Release:        0
 %define mod_name kramdown
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{ruby >= 2.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
-BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:            http://kramdown.gettalong.org
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        kramdown is a fast, pure-Ruby Markdown-superset converter
 License:        MIT

++++++ kramdown-1.14.0.gem -> kramdown-1.15.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CONTRIBUTERS new/CONTRIBUTERS
--- old/CONTRIBUTERS    2017-06-26 21:36:07.000000000 +0200
+++ new/CONTRIBUTERS    2017-09-08 21:52:04.000000000 +0200
@@ -1,6 +1,6 @@
   Count Name
 ======= ====
-    847 Thomas Leitner <t_leit...@gmx.at>
+    861 Thomas Leitner <t_leit...@gmx.at>
       6 Gioele Barabucci <gio...@svario.it>
       4 Ted Pak <powerpak...@gmail.com>
       4 Shuanglei Tao <tsl0...@gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile        2017-06-26 21:36:07.000000000 +0200
+++ new/Rakefile        2017-09-08 21:52:04.000000000 +0200
@@ -176,9 +176,10 @@
       s.require_path = 'lib'
       s.executables = ['kramdown']
       s.default_executable = 'kramdown'
+      s.required_ruby_version = '>= 2.0'
       s.add_development_dependency 'minitest', '~> 5.0'
       s.add_development_dependency 'coderay', '~> 1.0.0'
-      s.add_development_dependency 'rouge', '~> 1.8'
+      s.add_development_dependency 'rouge'
       s.add_development_dependency 'stringex', '~> 1.5.1'
       s.add_development_dependency 'prawn', '~> 2.0'
       s.add_development_dependency 'prawn-table', '~> 0.2.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2017-06-26 21:36:07.000000000 +0200
+++ new/VERSION 2017-09-08 21:52:04.000000000 +0200
@@ -1 +1 @@
-1.14.0
+1.15.0
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/index.page new/doc/index.page
--- old/doc/index.page  2017-06-26 21:36:07.000000000 +0200
+++ new/doc/index.page  2017-09-08 21:52:04.000000000 +0200
@@ -97,8 +97,8 @@
 It is probably the fastest pure-Ruby Markdown converter available (September 
2014), being about 3x
 faster than [Maruku] and about 4.5x faster than [BlueFeather].
 
-Version **1.14.0**{:itemprop="softwareVersion"} released on
-**2017-06-26**{:itemprop="datePublished"}, [more news](news.html)
+Version **1.15.0**{:itemprop="softwareVersion"} released on
+**2017-09-08**{:itemprop="datePublished"}, [more news](news.html)
 {: style="text-align: center; font-size: 80%"}
 
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/syntax.page new/doc/syntax.page
--- old/doc/syntax.page 2017-06-26 21:36:07.000000000 +0200
+++ new/doc/syntax.page 2017-09-08 21:52:04.000000000 +0200
@@ -1435,6 +1435,10 @@
 
     This is some text.[^1]. Other text.[^footnote].
 
+> Note that footnote markers cannot be used as part of the link text of a link 
because this would
+> lead to nested links which is not allowed in HTML.
+{: .information}
+
 Footnote markers with the same name will link to the same footnote definition. 
The actual naming of
 a footnote does not matter since the numbering of footnotes is controlled via 
the position of the
 footnote markers in the document (the first found footnote marker will get the 
number 1, the second 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/compatibility.rb 
new/lib/kramdown/compatibility.rb
--- old/lib/kramdown/compatibility.rb   2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/compatibility.rb   1970-01-01 01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-#--
-# Copyright (C) 2009-2016 Thomas Leitner <t_leit...@gmx.at>
-#
-# This file is part of kramdown which is licensed under the MIT.
-#++
-#
-# All the code in this file is backported from Ruby 1.8.7 sothat kramdown 
works under 1.8.5
-#
-# :stopdoc:
-
-require 'rbconfig'
-
-if RUBY_VERSION <= '1.8.6'
-  require 'rexml/parsers/baseparser'
-  module REXML
-    module Parsers
-      class BaseParser
-        UNAME_STR= "(?:#{NCNAME_STR}:)?#{NCNAME_STR}" unless 
const_defined?(:UNAME_STR)
-      end
-    end
-  end
-
-  if !String.instance_methods.include?("start_with?")
-
-    class String
-      def start_with?(str)
-        self[0, str.length] == str
-      end
-      def end_with?(str)
-        self[-str.length, str.length] == str
-      end
-    end
-
-  end
-
-end
-
-if !Symbol.instance_methods.include?("<=>")
-
-  class Symbol
-    def <=>(other)
-      self.to_s <=> other.to_s
-    end
-  end
-
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/converter/html.rb 
new/lib/kramdown/converter/html.rb
--- old/lib/kramdown/converter/html.rb  2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/converter/html.rb  2017-09-08 21:52:04.000000000 +0200
@@ -386,7 +386,7 @@
           a = Element.new(:a, nil)
           a.attr['href'] = "##{id}"
           a.attr['id'] = "#{sections.attr['id']}-#{id}"
-          
a.children.concat(remove_footnotes(Marshal.load(Marshal.dump(children))))
+          
a.children.concat(fix_for_toc_entry(Marshal.load(Marshal.dump(children))))
           li.children.last.children << a
           li.children << Element.new(type)
 
@@ -413,6 +413,21 @@
         sections
       end
 
+      # Fixes the elements for use in a TOC entry.
+      def fix_for_toc_entry(elements)
+        remove_footnotes(elements)
+        unwrap_links(elements)
+        elements
+      end
+
+      # Remove all link elements by unwrapping them.
+      def unwrap_links(elements)
+        elements.map! do |c|
+          unwrap_links(c.children)
+          c.type == :a ? c.children : c
+        end.flatten!
+      end
+
       # Remove all footnotes from the given elements.
       def remove_footnotes(elements)
         elements.delete_if do |c|
@@ -427,7 +442,7 @@
         text.each_byte do |b|
           result << (b > 128 ? b.chr : "&#%03d;" % b)
         end
-        result.force_encoding(text.encoding) if 
result.respond_to?(:force_encoding)
+        result.force_encoding(text.encoding)
         result
       end
 
@@ -453,9 +468,10 @@
           end
 
           unless @options[:footnote_backlink].empty?
-            para.children << Element.new(:raw, FOOTNOTE_BACKLINK_FMT % 
[insert_space ? '&nbsp;' : '', name, backlink_text])
+            nbsp = entity_to_str(ENTITY_NBSP)
+            para.children << Element.new(:raw, FOOTNOTE_BACKLINK_FMT % 
[insert_space ? nbsp : '', name, backlink_text])
             (1..repeat).each do |index|
-              para.children << Element.new(:raw, FOOTNOTE_BACKLINK_FMT % 
["&nbsp;", "#{name}:#{index}", "#{backlink_text}<sup>#{index+1}</sup>"])
+              para.children << Element.new(:raw, FOOTNOTE_BACKLINK_FMT % 
[nbsp, "#{name}:#{index}", "#{backlink_text}<sup>#{index+1}</sup>"])
             end
           end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/converter/latex.rb 
new/lib/kramdown/converter/latex.rb
--- old/lib/kramdown/converter/latex.rb 2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/converter/latex.rb 2017-09-08 21:52:04.000000000 +0200
@@ -137,7 +137,7 @@
       end
 
       def convert_li(el, opts)
-        "\\item #{latex_link_target(el, true)}#{inner(el, opts).sub(/\n+\Z/, 
'')}\n"
+        "\\item{} #{latex_link_target(el, true)}#{inner(el, opts).sub(/\n+\Z/, 
'')}\n"
       end
 
       def convert_dt(el, opts)
@@ -210,9 +210,9 @@
       def convert_a(el, opts)
         url = el.attr['href']
         if url.start_with?('#')
-          "\\hyperlink{#{escape(url[1..-1])}}{#{inner(el, opts)}}"
+          "\\hyperlink{#{url[1..-1].gsub('%', "\\%")}}{#{inner(el, opts)}}"
         else
-          "\\href{#{escape(url)}}{#{inner(el, opts)}}"
+          "\\href{#{url.gsub('%', "\\%")}}{#{inner(el, opts)}}"
         end
       end
 
@@ -598,7 +598,9 @@
         "~"  => "\\ensuremath{\\sim}",
         "|"  => "\\textbar{}",
         "<"  => "\\textless{}",
-        ">"  => "\\textgreater{}"
+        ">"  => "\\textgreater{}",
+        "["  => "{[}",
+        "]"  => "{]}",
       }.merge(Hash[*("{}$%&_#".scan(/./).map {|c| [c, "\\#{c}"]}.flatten)]) # 
:nodoc:
       ESCAPE_RE = Regexp.union(*ESCAPE_MAP.collect {|k,v| k}) # :nodoc:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/document.rb new/lib/kramdown/document.rb
--- old/lib/kramdown/document.rb        2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/document.rb        2017-09-08 21:52:04.000000000 +0200
@@ -35,9 +35,6 @@
 #
 # MIT - see the COPYING file.
 
-
-require 'kramdown/compatibility'
-
 require 'kramdown/version'
 require 'kramdown/element'
 require 'kramdown/error'
@@ -53,7 +50,7 @@
     unless defined?(@@data_dir)
       require 'rbconfig'
       @@data_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 
'..', 'data', 'kramdown'))
-      @@data_dir = File.expand_path(File.join(RbConfig::CONFIG["datadir"], 
"kramdown")) if !File.exists?(@@data_dir)
+      @@data_dir = File.expand_path(File.join(RbConfig::CONFIG["datadir"], 
"kramdown")) if !File.exist?(@@data_dir)
       raise "kramdown data directory not found! This is a bug, please report 
it!" unless File.directory?(@@data_dir)
     end
     @@data_dir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/parser/base.rb 
new/lib/kramdown/parser/base.rb
--- old/lib/kramdown/parser/base.rb     2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/parser/base.rb     2017-09-08 21:52:04.000000000 +0200
@@ -89,12 +89,10 @@
       # Modify the string +source+ to be usable by the parser (unifies line 
ending characters to
       # +\n+ and makes sure +source+ ends with a new line character).
       def adapt_source(source)
-        if source.respond_to?(:encode)
-          if !source.valid_encoding?
-            raise "The source text contains invalid characters for the used 
encoding #{source.encoding}"
-          end
-          source = source.encode('UTF-8')
+        unless source.valid_encoding?
+          raise "The source text contains invalid characters for the used 
encoding #{source.encoding}"
         end
+        source = source.encode('UTF-8')
         source.gsub(/\r\n?/, "\n").chomp + "\n"
       end
 
@@ -113,16 +111,12 @@
       # method works correctly under Ruby 1.8 and Ruby 1.9.
       def extract_string(range, strscan)
         result = nil
-        if strscan.string.respond_to?(:encoding)
-          begin
-            enc = strscan.string.encoding
-            strscan.string.force_encoding('ASCII-8BIT')
-            result = strscan.string[range].force_encoding(enc)
-          ensure
-            strscan.string.force_encoding(enc)
-          end
-        else
-          result = strscan.string[range]
+        begin
+          enc = strscan.string.encoding
+          strscan.string.force_encoding('ASCII-8BIT')
+          result = strscan.string[range].force_encoding(enc)
+        ensure
+          strscan.string.force_encoding(enc)
         end
         result
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/parser/kramdown/autolink.rb 
new/lib/kramdown/parser/kramdown/autolink.rb
--- old/lib/kramdown/parser/kramdown/autolink.rb        2017-06-26 
21:36:07.000000000 +0200
+++ new/lib/kramdown/parser/kramdown/autolink.rb        2017-09-08 
21:52:04.000000000 +0200
@@ -11,13 +11,7 @@
   module Parser
     class Kramdown
 
-      if RUBY_VERSION == '1.8.5'
-        ACHARS = '\w\x80-\xFF'
-      elsif RUBY_VERSION < '1.9.0'
-        ACHARS = '\w'
-      else
-        ACHARS = '[[:alnum:]]_'
-      end
+      ACHARS = '[[:alnum:]]_'
       AUTOLINK_START_STR = 
"<((mailto|https?|ftps?):.+?|[-.#{ACHARS}]+@[-#{ACHARS}]+(?:\.[-#{ACHARS}]+)*\.[a-z]+)>"
       AUTOLINK_START = /#{AUTOLINK_START_STR}/u
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/parser/kramdown.rb 
new/lib/kramdown/parser/kramdown.rb
--- old/lib/kramdown/parser/kramdown.rb 2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/parser/kramdown.rb 2017-09-08 21:52:04.000000000 +0200
@@ -90,7 +90,10 @@
         update_tree(@root)
         correct_abbreviations_attributes
         replace_abbreviations(@root)
-        @footnotes.each {|name,data| update_tree(data[:content])}
+        @footnotes.each do |name,data|
+          update_tree(data[:content])
+          replace_abbreviations(data[:content])
+        end
         @footnotes.each do |name, data|
           next if data.key?(:marker)
           line = data[:content].options[:location]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/utils/html.rb 
new/lib/kramdown/utils/html.rb
--- old/lib/kramdown/utils/html.rb      2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/utils/html.rb      2017-09-08 21:52:04.000000000 +0200
@@ -27,7 +27,7 @@
       def entity_to_str(e, original = nil)
         entity_output = @options[:entity_output]
 
-        if e.char.respond_to?(:encoding) && entity_output == :as_char &&
+        if entity_output == :as_char &&
             (c = e.char.encode(@root.options[:encoding]) rescue nil) &&
             ((c = e.char) == '"' || !ESCAPE_MAP.has_key?(c))
           c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/utils/ordered_hash.rb 
new/lib/kramdown/utils/ordered_hash.rb
--- old/lib/kramdown/utils/ordered_hash.rb      2017-06-26 21:36:07.000000000 
+0200
+++ new/lib/kramdown/utils/ordered_hash.rb      2017-09-08 21:52:04.000000000 
+0200
@@ -11,81 +11,7 @@
 
   module Utils
 
-    if RUBY_VERSION < '1.9'
-
-      # A partial hash implementation which preserves the insertion order of 
the keys.
-      #
-      # *Note* that this class is only used on Ruby 1.8 since the built-in 
Hash on Ruby 1.9
-      # automatically preserves the insertion order. However, to remain 
compatibility only the
-      # methods defined in this class may be used when working with 
OrderedHash on Ruby 1.9.
-      class OrderedHash
-
-        include Enumerable
-
-        # Initialize the OrderedHash object.
-        def initialize
-          @data =  {}
-          @order = []
-        end
-
-        # Iterate over the stored keys in insertion order.
-        def each
-          @order.each {|k| yield(k, @data[k])}
-        end
-
-        # Return the value for the +key+.
-        def [](key)
-          @data[key]
-        end
-
-        # Return +true+ if the hash contains the key.
-        def has_key?(key)
-          @data.has_key?(key)
-        end
-
-        # Return +true+ if the hash contains no keys.
-        def empty?
-          @data.empty?
-        end
-
-        # Set the value for the +key+ to +val+.
-        def []=(key, val)
-          @order << key if !@data.has_key?(key)
-          @data[key] = val
-        end
-
-        # Delete the +key+.
-        def delete(key)
-          @order.delete(key)
-          @data.delete(key)
-        end
-
-        def merge!(other)
-          other.each {|k,v| self[k] = v}
-          self
-        end
-
-        def dup #:nodoc:
-          new_object = super
-          new_object.instance_variable_set(:@data, @data.dup)
-          new_object.instance_variable_set(:@order, @order.dup)
-          new_object
-        end
-
-        def ==(other) #:nodoc:
-          return false unless other.kind_of?(self.class)
-          @data == other.instance_variable_get(:@data) && @order == 
other.instance_variable_get(:@order)
-        end
-
-        def inspect #:nodoc:
-          "{" + map {|k,v| "#{k.inspect}=>#{v.inspect}"}.join(" ") + "}"
-        end
-
-      end
-
-    else
-      OrderedHash = Hash
-    end
+    OrderedHash = Hash
 
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/utils/unidecoder.rb 
new/lib/kramdown/utils/unidecoder.rb
--- old/lib/kramdown/utils/unidecoder.rb        2017-06-26 21:36:07.000000000 
+0200
+++ new/lib/kramdown/utils/unidecoder.rb        2017-09-08 21:52:04.000000000 
+0200
@@ -18,7 +18,7 @@
       gem 'stringex' if defined?(Gem)
       path = $:.find {|dir| File.directory?(File.join(File.expand_path(dir), 
"stringex", "unidecoder_data"))}
 
-      if RUBY_VERSION <= '1.8.6' || !path
+      if !path
         def self.decode(string)
           string
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/kramdown/version.rb new/lib/kramdown/version.rb
--- old/lib/kramdown/version.rb 2017-06-26 21:36:07.000000000 +0200
+++ new/lib/kramdown/version.rb 2017-09-08 21:52:04.000000000 +0200
@@ -10,6 +10,6 @@
 module Kramdown
 
   # The kramdown version.
-  VERSION = '1.14.0'
+  VERSION = '1.15.0'
 
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-06-26 21:36:07.000000000 +0200
+++ new/metadata        2017-09-08 21:52:04.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: kramdown
 version: !ruby/object:Gem::Version
-  version: 1.14.0
+  version: 1.15.0
 platform: ruby
 authors:
 - Thomas Leitner
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-06-26 00:00:00.000000000 Z
+date: 2017-09-08 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: minitest
@@ -42,16 +42,16 @@
   name: rouge
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
-        version: '1.8'
+        version: '0'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
-        version: '1.8'
+        version: '0'
 - !ruby/object:Gem::Dependency
   name: stringex
   requirement: !ruby/object:Gem::Requirement
@@ -167,7 +167,6 @@
 - doc/tests.page
 - doc/virtual
 - lib/kramdown.rb
-- lib/kramdown/compatibility.rb
 - lib/kramdown/converter.rb
 - lib/kramdown/converter/base.rb
 - lib/kramdown/converter/hash_ast.rb
@@ -351,6 +350,8 @@
 - test/testcases/block/07_horizontal_rule/sepspaces.text
 - test/testcases/block/07_horizontal_rule/septabs.html
 - test/testcases/block/07_horizontal_rule/septabs.text
+- test/testcases/block/08_list/brackets_in_item.latex
+- test/testcases/block/08_list/brackets_in_item.text
 - test/testcases/block/08_list/escaping.html
 - test/testcases/block/08_list/escaping.text
 - test/testcases/block/08_list/item_ial.html
@@ -555,6 +556,9 @@
 - test/testcases/block/16_toc/toc_with_footnotes.html
 - test/testcases/block/16_toc/toc_with_footnotes.options
 - test/testcases/block/16_toc/toc_with_footnotes.text
+- test/testcases/block/16_toc/toc_with_links.html
+- test/testcases/block/16_toc/toc_with_links.options
+- test/testcases/block/16_toc/toc_with_links.text
 - test/testcases/encoding.html
 - test/testcases/encoding.text
 - test/testcases/man/example.man
@@ -584,6 +588,8 @@
 - test/testcases/span/01_link/inline.html
 - test/testcases/span/01_link/inline.html.19
 - test/testcases/span/01_link/inline.text
+- test/testcases/span/01_link/latex_escaping.latex
+- test/testcases/span/01_link/latex_escaping.text
 - test/testcases/span/01_link/link_defs.html
 - test/testcases/span/01_link/link_defs.text
 - test/testcases/span/01_link/link_defs_with_ial.html
@@ -634,10 +640,13 @@
 - test/testcases/span/04_footnote/inside_footnote.text
 - test/testcases/span/04_footnote/markers.html
 - test/testcases/span/04_footnote/markers.latex
+- test/testcases/span/04_footnote/markers.options
 - test/testcases/span/04_footnote/markers.text
 - test/testcases/span/04_footnote/placement.html
+- test/testcases/span/04_footnote/placement.options
 - test/testcases/span/04_footnote/placement.text
 - test/testcases/span/04_footnote/regexp_problem.html
+- test/testcases/span/04_footnote/regexp_problem.options
 - test/testcases/span/04_footnote/regexp_problem.text
 - test/testcases/span/04_footnote/without_backlink.html
 - test/testcases/span/04_footnote/without_backlink.options
@@ -664,6 +673,8 @@
 - test/testcases/span/abbreviations/abbrev.text
 - test/testcases/span/abbreviations/abbrev_defs.html
 - test/testcases/span/abbreviations/abbrev_defs.text
+- test/testcases/span/abbreviations/in_footnote.html
+- test/testcases/span/abbreviations/in_footnote.text
 - test/testcases/span/autolinks/url_links.html
 - test/testcases/span/autolinks/url_links.text
 - test/testcases/span/escaped_chars/normal.html
@@ -764,7 +775,7 @@
   requirements:
   - - ">="
     - !ruby/object:Gem::Version
-      version: '0'
+      version: '2.0'
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
   - - ">="
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/test/testcases/block/06_codeblock/rouge/multiple.html 
new/test/testcases/block/06_codeblock/rouge/multiple.html
--- old/test/testcases/block/06_codeblock/rouge/multiple.html   2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/block/06_codeblock/rouge/multiple.html   2017-09-08 
21:52:04.000000000 +0200
@@ -1,11 +1,11 @@
-<div class="language-ruby highlighter-rouge"><div class="custom-class"><pre 
class="highlight"><code><span class="nb">puts</span> <span 
class="s2">"Hello"</span>
+<div class="language-ruby highlighter-rouge"><div class="custom-class"><div 
class="highlight"><pre class="highlight"><code><span class="nb">puts</span> 
<span class="s2">"Hello"</span>
 </code></pre>
-</div></div>
+</div></div></div>
 
-<div class="language-ruby highlighter-rouge"><div class="custom-class"><pre 
class="highlight"><code><span class="nb">puts</span> <span 
class="s2">"World"</span>
+<div class="language-ruby highlighter-rouge"><div class="custom-class"><div 
class="highlight"><pre class="highlight"><code><span class="nb">puts</span> 
<span class="s2">"World"</span>
 </code></pre>
-</div></div>
+</div></div></div>
 
-<div class="language-php highlighter-rouge"><div class="custom-class"><pre 
class="highlight"><code><span class="nv">$foo</span> <span class="o">=</span> 
<span class="k">new</span> <span class="nx">Bar</span><span class="p">;</span>
+<div class="language-php highlighter-rouge"><div class="custom-class"><div 
class="highlight"><pre class="highlight"><code><span class="nv">$foo</span> 
<span class="o">=</span> <span class="k">new</span> <span 
class="nx">Bar</span><span class="p">;</span>
 </code></pre>
-</div></div>
+</div></div></div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/06_codeblock/rouge/simple.html 
new/test/testcases/block/06_codeblock/rouge/simple.html
--- old/test/testcases/block/06_codeblock/rouge/simple.html     2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/block/06_codeblock/rouge/simple.html     2017-09-08 
21:52:04.000000000 +0200
@@ -1,10 +1,10 @@
-<div class="language-ruby highlighter-rouge"><pre 
class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span 
class="no">Class</span><span class="p">.</span><span class="nf">new</span>
+<div class="language-ruby highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span 
class="no">Class</span><span class="p">.</span><span class="nf">new</span>
 </code></pre>
-</div>
-<div class="language-html highlighter-rouge"><pre 
class="highlight"><code><span class="nt">&lt;a&gt;</span>href<span 
class="nt">&lt;/a&gt;</span>
+</div></div>
+<div class="language-html highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="nt">&lt;a&gt;</span>href<span 
class="nt">&lt;/a&gt;</span>
 </code></pre>
-</div>
+</div></div>
 
-<div class="language-php highlighter-rouge"><pre class="highlight"><code><span 
class="nv">$foo</span> <span class="o">=</span> <span class="k">new</span> 
<span class="nx">Bar</span><span class="p">;</span>
+<div class="language-php highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="nv">$foo</span> <span class="o">=</span> 
<span class="k">new</span> <span class="nx">Bar</span><span class="p">;</span>
 </code></pre>
-</div>
+</div></div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/08_list/brackets_in_item.latex 
new/test/testcases/block/08_list/brackets_in_item.latex
--- old/test/testcases/block/08_list/brackets_in_item.latex     1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/block/08_list/brackets_in_item.latex     2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,3 @@
+\begin{itemize}
+\item{} {[}and{]} another
+\end{itemize}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/08_list/brackets_in_item.text 
new/test/testcases/block/08_list/brackets_in_item.text
--- old/test/testcases/block/08_list/brackets_in_item.text      1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/block/08_list/brackets_in_item.text      2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1 @@
+* \[and\] another
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/12_extension/options.html 
new/test/testcases/block/12_extension/options.html
--- old/test/testcases/block/12_extension/options.html  2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/block/12_extension/options.html  2017-09-08 
21:52:04.000000000 +0200
@@ -15,7 +15,7 @@
 <div class="footnotes">
   <ol start="10">
     <li id="fn:ab">
-      <p>Some text.&nbsp;<a href="#fnref:ab" 
class="reversefootnote">&#8617;</a></p>
+      <p>Some text. <a href="#fnref:ab" class="reversefootnote">&#8617;</a></p>
     </li>
   </ol>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/12_extension/options2.html 
new/test/testcases/block/12_extension/options2.html
--- old/test/testcases/block/12_extension/options2.html 2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/block/12_extension/options2.html 2017-09-08 
21:52:04.000000000 +0200
@@ -4,7 +4,7 @@
 <div class="footnotes">
   <ol>
     <li id="fn:ab">
-      <p>Some text.&nbsp;<a href="#fnref:ab" 
class="reversefootnote">&#8617;</a></p>
+      <p>Some text. <a href="#fnref:ab" class="reversefootnote">&#8617;</a></p>
     </li>
   </ol>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/16_toc/toc_with_footnotes.html 
new/test/testcases/block/16_toc/toc_with_footnotes.html
--- old/test/testcases/block/16_toc/toc_with_footnotes.html     2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/block/16_toc/toc_with_footnotes.html     2017-09-08 
21:52:04.000000000 +0200
@@ -7,7 +7,7 @@
 <div class="footnotes">
   <ol>
     <li id="fn:1">
-      <p>Some footnote content here&nbsp;<a href="#fnref:1" 
class="reversefootnote">&#8617;</a></p>
+      <p>Some footnote content here <a href="#fnref:1" 
class="reversefootnote">&#8617;</a></p>
     </li>
   </ol>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/16_toc/toc_with_links.html 
new/test/testcases/block/16_toc/toc_with_links.html
--- old/test/testcases/block/16_toc/toc_with_links.html 1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/block/16_toc/toc_with_links.html 2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,8 @@
+<h1 id="header"><a href="test.html">Header</a></h1>
+
+<h1 id="header-1"><a href="test.html">Header</a></h1>
+
+<ul id="markdown-toc">
+  <li><a href="#header" id="markdown-toc-header">Header</a></li>
+  <li><a href="#header-1" id="markdown-toc-header-1">Header</a></li>
+</ul>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/16_toc/toc_with_links.options 
new/test/testcases/block/16_toc/toc_with_links.options
--- old/test/testcases/block/16_toc/toc_with_links.options      1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/block/16_toc/toc_with_links.options      2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,2 @@
+:auto_ids: true
+:auto_id_stripping: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/block/16_toc/toc_with_links.text 
new/test/testcases/block/16_toc/toc_with_links.text
--- old/test/testcases/block/16_toc/toc_with_links.text 1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/block/16_toc/toc_with_links.text 2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,8 @@
+# [Header]
+
+# [Header]
+
+[header]: test.html
+
+* toc
+{:toc}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/01_link/latex_escaping.latex 
new/test/testcases/span/01_link/latex_escaping.latex
--- old/test/testcases/span/01_link/latex_escaping.latex        1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/span/01_link/latex_escaping.latex        2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,6 @@
+\href{https://example.com/~tilde/}{https://example.com/\ensuremath{\sim}tilde/}
+
+\href{http://example.com/percent\%20percent}{http://example.com/percent\%20percent}
+
+\href{http://example.com/hash#hash}{http://example.com/hash\#hash}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/01_link/latex_escaping.text 
new/test/testcases/span/01_link/latex_escaping.text
--- old/test/testcases/span/01_link/latex_escaping.text 1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/span/01_link/latex_escaping.text 2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,5 @@
+<https://example.com/~tilde/>
+
+<http://example.com/percent%20percent>
+
+<http://example.com/hash#hash>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/backlink_text.html 
new/test/testcases/span/04_footnote/backlink_text.html
--- old/test/testcases/span/04_footnote/backlink_text.html      2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/backlink_text.html      2017-09-08 
21:52:04.000000000 +0200
@@ -3,7 +3,7 @@
 <div class="footnotes">
   <ol>
     <li id="fn:fn">
-      <p>Some text here&nbsp;<a href="#fnref:fn" class="reversefootnote">text 
&8617; &lt;img /&gt;</a></p>
+      <p>Some text here <a href="#fnref:fn" class="reversefootnote">text 
&8617; &lt;img /&gt;</a></p>
     </li>
   </ol>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/definitions.latex 
new/test/testcases/span/04_footnote/definitions.latex
--- old/test/testcases/span/04_footnote/definitions.latex       2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/definitions.latex       2017-09-08 
21:52:04.000000000 +0200
@@ -5,12 +5,12 @@
 \end{quote}
 
 \begin{itemize}
-\item a list
+\item{} a list
 with some text
 \end{itemize}
 
 \begin{itemize}
-\item other list
+\item{} other list
 \end{itemize}
 \begin{verbatim}code
 \end{verbatim}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/footnote_nr.html 
new/test/testcases/span/04_footnote/footnote_nr.html
--- old/test/testcases/span/04_footnote/footnote_nr.html        2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/footnote_nr.html        2017-09-08 
21:52:04.000000000 +0200
@@ -3,10 +3,10 @@
 <div class="footnotes">
   <ol start="35">
     <li id="fn:ab">
-      <p>Some text.&nbsp;<a href="#fnref:ab" 
class="reversefootnote">&#8617;</a></p>
+      <p>Some text. <a href="#fnref:ab" class="reversefootnote">&#8617;</a></p>
     </li>
     <li id="fn:bc">
-      <p>Some other text.&nbsp;<a href="#fnref:bc" 
class="reversefootnote">&#8617;</a></p>
+      <p>Some other text. <a href="#fnref:bc" 
class="reversefootnote">&#8617;</a></p>
     </li>
   </ol>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/inside_footnote.html 
new/test/testcases/span/04_footnote/inside_footnote.html
--- old/test/testcases/span/04_footnote/inside_footnote.html    2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/inside_footnote.html    2017-09-08 
21:52:04.000000000 +0200
@@ -5,13 +5,13 @@
 <div class="footnotes">
   <ol>
     <li id="fn:first">
-      <p>Consecutur adisping.<sup id="fnref:third"><a href="#fn:third" 
class="footnote">3</a></sup>&nbsp;<a href="#fnref:first" 
class="reversefootnote">&#8617;</a></p>
+      <p>Consecutur adisping.<sup id="fnref:third"><a href="#fn:third" 
class="footnote">3</a></sup> <a href="#fnref:first" 
class="reversefootnote">&#8617;</a></p>
     </li>
     <li id="fn:second">
-      <p>Sed ut perspiciatis unde omnis.&nbsp;<a href="#fnref:second" 
class="reversefootnote">&#8617;</a></p>
+      <p>Sed ut perspiciatis unde omnis. <a href="#fnref:second" 
class="reversefootnote">&#8617;</a></p>
     </li>
     <li id="fn:third">
-      <p>Sed ut.&nbsp;<a href="#fnref:third" 
class="reversefootnote">&#8617;</a></p>
+      <p>Sed ut. <a href="#fnref:third" class="reversefootnote">&#8617;</a></p>
     </li>
   </ol>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/markers.latex 
new/test/testcases/span/04_footnote/markers.latex
--- old/test/testcases/span/04_footnote/markers.latex   2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/markers.latex   2017-09-08 
21:52:04.000000000 +0200
@@ -10,14 +10,14 @@
 \end{quote}
 
 \begin{itemize}
-\item and a list item \footnote{some \emph{text}}
+\item{} and a list item \footnote{some \emph{text}}
 \end{itemize}
 
 \section*{And a header\footnote{\begin{verbatim}code block
 continued here
 \end{verbatim}}}
 
-A marker without a definition [\^{}without].
+A marker without a definition {[}\^{}without{]}.
 
 A marker \footnote{} used twice\footnote{Some foot note text} and 
thrice\footnote{Some foot note text}.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/markers.options 
new/test/testcases/span/04_footnote/markers.options
--- old/test/testcases/span/04_footnote/markers.options 1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/span/04_footnote/markers.options 2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,2 @@
+:auto_ids: false
+:entity_output: :symbolic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/placement.html 
new/test/testcases/span/04_footnote/placement.html
--- old/test/testcases/span/04_footnote/placement.html  2017-06-26 
21:36:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/placement.html  2017-09-08 
21:52:04.000000000 +0200
@@ -1,7 +1,7 @@
 <div class="footnotes">
   <ol>
     <li id="fn:1">
-      <p>Footnote \` text&nbsp;<a href="#fnref:1" 
class="reversefootnote">&#8617;</a></p>
+      <p>Footnote \` text&#160;<a href="#fnref:1" 
class="reversefootnote">&#8617;</a></p>
     </li>
   </ol>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/04_footnote/placement.options 
new/test/testcases/span/04_footnote/placement.options
--- old/test/testcases/span/04_footnote/placement.options       1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/span/04_footnote/placement.options       2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1 @@
+:entity_output: :numeric
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/test/testcases/span/04_footnote/regexp_problem.options 
new/test/testcases/span/04_footnote/regexp_problem.options
--- old/test/testcases/span/04_footnote/regexp_problem.options  1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/span/04_footnote/regexp_problem.options  2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,2 @@
+:auto_ids: false
+:entity_output: :symbolic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/abbreviations/in_footnote.html 
new/test/testcases/span/abbreviations/in_footnote.html
--- old/test/testcases/span/abbreviations/in_footnote.html      1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/span/abbreviations/in_footnote.html      2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,9 @@
+<p>There is a <abbr title="Text File">TXT</abbr> file here. <sup 
id="fnref:1"><a href="#fn:1" class="footnote">1</a></sup></p>
+
+<div class="footnotes">
+  <ol>
+    <li id="fn:1">
+      <p>A <abbr title="Text File">TXT</abbr> file. <a href="#fnref:1" 
class="reversefootnote">&#8617;</a></p>
+    </li>
+  </ol>
+</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/testcases/span/abbreviations/in_footnote.text 
new/test/testcases/span/abbreviations/in_footnote.text
--- old/test/testcases/span/abbreviations/in_footnote.text      1970-01-01 
01:00:00.000000000 +0100
+++ new/test/testcases/span/abbreviations/in_footnote.text      2017-09-08 
21:52:04.000000000 +0200
@@ -0,0 +1,5 @@
+There is a TXT file here. [^1]
+
+*[TXT]: Text File
+
+[^1]: A TXT file.


Reply via email to