From root@hilbert.suse.de Sun May 29 01:12:45 2016 From: root@hilbert.suse.de To: commit@lists.opensuse.org Subject: commit rubygem-kramdown for openSUSE:Factory Date: Sun, 29 May 2016 03:12:46 +0200 Message-ID: <20160529011246.2238EAE055@hilbert.suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4211280534039735508==" --===============4211280534039735508== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello community, here is the log from the commit of package rubygem-kramdown for openSUSE:Fact= ory checked in at 2016-05-29 03:11:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-kramdown (Old) and /work/SRC/openSUSE:Factory/.rubygem-kramdown.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-kramdown" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-kramdown/rubygem-kramdown.changes 2016= -03-18 21:41:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-kramdown.new/rubygem-kramdown.changes= 2016-05-29 03:12:45.000000000 +0200 @@ -1,0 +2,6 @@ +Mon May 2 04:36:46 UTC 2016 - coolo(a)suse.com + +- updated to version 1.11.1 + see installed news.feed + +------------------------------------------------------------------- Old: ---- kramdown-1.10.0.gem New: ---- kramdown-1.11.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-kramdown.spec ++++++ --- /var/tmp/diff_new_pack.vz0ME8/_old 2016-05-29 03:12:45.000000000 +0200 +++ /var/tmp/diff_new_pack.vz0ME8/_new 2016-05-29 03:12:45.000000000 +0200 @@ -24,7 +24,7 @@ # =20 Name: rubygem-kramdown -Version: 1.10.0 +Version: 1.11.1 Release: 0 %define mod_name kramdown %define mod_full_name %{mod_name}-%{version} ++++++ kramdown-1.10.0.gem -> kramdown-1.11.1.gem ++++++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/CONTRIBUTERS new/CONTRIBUTERS --- old/CONTRIBUTERS 2016-03-02 18:45:04.000000000 +0100 +++ new/CONTRIBUTERS 2016-05-01 22:18:00.000000000 +0200 @@ -1,6 +1,6 @@ Count Name =3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D - 789 Thomas Leitner + 802 Thomas Leitner 6 Gioele Barabucci 4 Ted Pak 4 Arne Brasseur diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2016-03-02 18:45:04.000000000 +0100 +++ new/Rakefile 2016-05-01 22:18:00.000000000 +0200 @@ -180,6 +180,7 @@ s.add_development_dependency 'rouge', '~> 1.8' s.add_development_dependency 'stringex', '~> 1.5.1' s.add_development_dependency 'prawn', '~> 2.0' + s.add_development_dependency 'prawn-table', '~> 0.2.2' s.add_development_dependency 'ritex', '~> 1.0' s.add_development_dependency 'itextomml', '~> 1.5' =20 @@ -239,7 +240,7 @@ COPYRIGHT=3D< +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/VERSION new/VERSION --- old/VERSION 2016-03-02 18:45:04.000000000 +0100 +++ new/VERSION 2016-05-01 22:18:00.000000000 +0200 @@ -1 +1 @@ -1.10.0 +1.11.1 Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/doc/default.template new/doc/default.template --- old/doc/default.template 2016-03-02 18:45:04.000000000 +0100 +++ new/doc/default.template 2016-05-01 22:18:00.000000000 +0200 @@ -3,7 +3,7 @@ - + @@ -43,7 +43,7 @@ =20
-
Copyright =C2=A9 2009-2015 Thomas Leitner +
Copyright =C2=A9 2009-2016 Thomas Leitner
Generated by webgen
=20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/doc/index.page new/doc/index.page --- old/doc/index.page 2016-03-02 18:45:04.000000000 +0100 +++ new/doc/index.page 2016-05-01 22:18:00.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]. =20 -Version **1.10.0**{:itemprop=3D"softwareVersion"} released on -**2016-03-02**{:itemprop=3D"datePublished"}, [more news](news.html) +Version **1.11.1**{:itemprop=3D"softwareVersion"} released on +**2016-05-01**{:itemprop=3D"datePublished"}, [more news](news.html) {: style=3D"text-align: center; font-size: 80%"} =20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/doc/installation.page new/doc/installation.page --- old/doc/installation.page 2016-03-02 18:45:04.000000000 +0100 +++ new/doc/installation.page 2016-05-01 22:18:00.000000000 +0200 @@ -8,7 +8,7 @@ ## Dependencies =20 Since kramdown is written in Ruby, you just need the [Ruby interpreter](http= ://www.ruby-lang.org), -version 1.8.5, 1.8.6, 1.8.7, 1.9.2, 1.9.3 or 2.0.0. There are no other depen= dencies. +version 1.8.5, 1.8.6, 1.8.7, 1.9.2, 1.9.3 or 2.x. There are no other depende= ncies. =20 =20 ## Compatibility Notes @@ -16,7 +16,7 @@ kramdown should work on any platform which supports Ruby. It has been succes= sfully tested on the following platforms: =20 -* Linux with Ruby 1.8.5, 1.8.6, 1.8.7, 1.9.2, 1.9.3, 2.0.0 and jruby 1.7.3. +* Linux with Ruby 1.8.7, 1.9.3, 2.x, jruby 1.7.19 and jruby 9.0.0.0. =20 See the platform specific installation notes for more information! =20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/compatibility.rb new/lib/kramdown/compat= ibility.rb --- old/lib/kramdown/compatibility.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/compatibility.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/base.rb new/lib/kramdown/conve= rter/base.rb --- old/lib/kramdown/converter/base.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter/base.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/hash_ast.rb new/lib/kramdown/c= onverter/hash_ast.rb --- old/lib/kramdown/converter/hash_ast.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter/hash_ast.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/html.rb new/lib/kramdown/conve= rter/html.rb --- old/lib/kramdown/converter/html.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter/html.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -92,11 +92,11 @@ def convert_codeblock(el, indent) attr =3D el.attr.dup lang =3D extract_code_language!(attr) - lang =3D el.options[:lang] if el.options.has_key?(:lang) - highlighted_code =3D highlight_code(el.value, lang, :block) + hl_opts =3D {} + highlighted_code =3D highlight_code(el.value, el.options[:lang] || l= ang, :block, hl_opts) =20 if highlighted_code - add_syntax_highlighter_to_class_attr(attr) + add_syntax_highlighter_to_class_attr(attr, lang || hl_opts[:defaul= t_lang]) "#{' '*indent}#{highlighted_code}#{' = '*indent}\n" else result =3D escape_html(el.value) @@ -113,7 +113,7 @@ end end code_attr =3D {} - code_attr['class'] =3D "language-#{lang.sub(/\?.*$/, '')}" if lang + code_attr['class'] =3D "language-#{lang}" if lang "#{' '*indent}#{result}\n\n" end end @@ -253,9 +253,10 @@ def convert_codespan(el, indent) attr =3D el.attr.dup lang =3D extract_code_language(attr) - result =3D highlight_code(el.value, lang, :span) + hl_opts =3D {} + result =3D highlight_code(el.value, lang, :span, hl_opts) if result - add_syntax_highlighter_to_class_attr(attr) + add_syntax_highlighter_to_class_attr(attr, hl_opts[:default_lang]) else result =3D escape_html(el.value) end @@ -363,9 +364,11 @@ "#{' '*indent}<#{name}#{html_attributes(attr)}>\n#{body}#{' '*indent= }\n" end =20 - # Add the syntax highlighter name to the 'class' attribute of the give= n attribute hash. - def add_syntax_highlighter_to_class_attr(attr) + # Add the syntax highlighter name to the 'class' attribute of the give= n attribute hash. And + # overwrites or add a "language-LANG" part using the +lang+ parameter = if +lang+ is not nil. + def add_syntax_highlighter_to_class_attr(attr, lang =3D nil) (attr['class'] =3D (attr['class'] || '') + " highlighter-#{@options[= :syntax_highlighter]}").lstrip! + attr['class'].sub!(/\blanguage-\S+|(^)/) { "language-#{lang}#{$1 ? '= ' : ''}" } if lang end =20 # Generate and return an element tree for the table of contents. diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/kramdown.rb new/lib/kramdown/c= onverter/kramdown.rb --- old/lib/kramdown/converter/kramdown.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter/kramdown.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/latex.rb new/lib/kramdown/conv= erter/latex.rb --- old/lib/kramdown/converter/latex.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter/latex.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/math_engine/itex2mml.rb new/li= b/kramdown/converter/math_engine/itex2mml.rb --- old/lib/kramdown/converter/math_engine/itex2mml.rb 2016-03-02 18:45:04.00= 0000000 +0100 +++ new/lib/kramdown/converter/math_engine/itex2mml.rb 2016-05-01 22:18:00.00= 0000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/math_engine/mathjax.rb new/lib= /kramdown/converter/math_engine/mathjax.rb --- old/lib/kramdown/converter/math_engine/mathjax.rb 2016-03-02 18:45:04.000= 000000 +0100 +++ new/lib/kramdown/converter/math_engine/mathjax.rb 2016-05-01 22:18:00.000= 000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/math_engine/mathjaxnode.rb new= /lib/kramdown/converter/math_engine/mathjaxnode.rb --- old/lib/kramdown/converter/math_engine/mathjaxnode.rb 2016-03-02 18:45:04= .000000000 +0100 +++ new/lib/kramdown/converter/math_engine/mathjaxnode.rb 2016-05-01 22:18:00= .000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/math_engine/ritex.rb new/lib/k= ramdown/converter/math_engine/ritex.rb --- old/lib/kramdown/converter/math_engine/ritex.rb 2016-03-02 18:45:04.00000= 0000 +0100 +++ new/lib/kramdown/converter/math_engine/ritex.rb 2016-05-01 22:18:00.00000= 0000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/pdf.rb new/lib/kramdown/conver= ter/pdf.rb --- old/lib/kramdown/converter/pdf.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter/pdf.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/remove_html_tags.rb new/lib/kr= amdown/converter/remove_html_tags.rb --- old/lib/kramdown/converter/remove_html_tags.rb 2016-03-02 18:45:04.000000= 000 +0100 +++ new/lib/kramdown/converter/remove_html_tags.rb 2016-05-01 22:18:00.000000= 000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/syntax_highlighter/coderay.rb = new/lib/kramdown/converter/syntax_highlighter/coderay.rb --- old/lib/kramdown/converter/syntax_highlighter/coderay.rb 2016-03-02 18:45= :04.000000000 +0100 +++ new/lib/kramdown/converter/syntax_highlighter/coderay.rb 2016-05-01 22:18= :00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -21,14 +21,14 @@ AVAILABLE =3D false # :nodoc: end =20 - def self.call(converter, text, lang, type, _unused_opts) + def self.call(converter, text, lang, type, call_opts) return nil unless converter.options[:enable_coderay] =20 if type =3D=3D :span && lang ::CodeRay.scan(text, lang.to_sym).html(options(converter, :span)).ch= omp elsif type =3D=3D :block && (lang || options(converter, :default_lang)) - lang =3D (lang || options(converter, :default_lang)).to_s.gsub(/-/, = '_').to_sym - ::CodeRay.scan(text, lang).html(options(converter, :block)).chomp <<= "\n" + lang ||=3D call_opts[:default_lang] =3D options(converter, :default_= lang) + ::CodeRay.scan(text, lang.to_s.gsub(/-/, '_').to_sym).html(options(c= onverter, :block)).chomp << "\n" else nil end diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/syntax_highlighter/minted.rb n= ew/lib/kramdown/converter/syntax_highlighter/minted.rb --- old/lib/kramdown/converter/syntax_highlighter/minted.rb 2016-03-02 18:45:= 04.000000000 +0100 +++ new/lib/kramdown/converter/syntax_highlighter/minted.rb 2016-05-01 22:18:= 00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/syntax_highlighter/rouge.rb ne= w/lib/kramdown/converter/syntax_highlighter/rouge.rb --- old/lib/kramdown/converter/syntax_highlighter/rouge.rb 2016-03-02 18:45:0= 4.000000000 +0100 +++ new/lib/kramdown/converter/syntax_highlighter/rouge.rb 2016-05-01 22:18:0= 0.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -21,8 +21,9 @@ AVAILABLE =3D false # :nodoc: end =20 - def self.call(converter, text, lang, type, _unused_opts) + def self.call(converter, text, lang, type, call_opts) opts =3D options(converter, type) + call_opts[:default_lang] =3D opts[:default_lang] lexer =3D ::Rouge::Lexer.find_fancy(lang || opts[:default_lang], text) return nil if opts[:disable] || !lexer =20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/syntax_highlighter.rb new/lib/= kramdown/converter/syntax_highlighter.rb --- old/lib/kramdown/converter/syntax_highlighter.rb 2016-03-02 18:45:04.0000= 00000 +0100 +++ new/lib/kramdown/converter/syntax_highlighter.rb 2016-05-01 22:18:00.0000= 00000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -46,6 +46,9 @@ # :block type text correctly wrapped (i.e. normally ins= ide a pre-tag, but may # also be a table-tag or just a div-tag) but :span type= text *without* a # code-tag! + # + # Also, a syntax highlighter should store the default h= ighlighting language for + # the invocation in the +opts+ hash under the key :defa= ult_lang. module SyntaxHighlighter end =20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter/toc.rb new/lib/kramdown/conver= ter/toc.rb --- old/lib/kramdown/converter/toc.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter/toc.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/converter.rb new/lib/kramdown/converter.= rb --- old/lib/kramdown/converter.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/converter.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/document.rb new/lib/kramdown/document.rb --- old/lib/kramdown/document.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/document.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/element.rb new/lib/kramdown/element.rb --- old/lib/kramdown/element.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/element.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/error.rb new/lib/kramdown/error.rb --- old/lib/kramdown/error.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/error.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/options.rb new/lib/kramdown/options.rb --- old/lib/kramdown/options.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/options.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/base.rb new/lib/kramdown/parser/b= ase.rb --- old/lib/kramdown/parser/base.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/parser/base.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/gfm.rb new/lib/kramdown/parser/gf= m.rb --- old/lib/kramdown/parser/gfm.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/parser/gfm.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -61,7 +61,7 @@ ATX_HEADER_START =3D /^\#{1,6}\s/ define_parser(:atx_header_gfm, ATX_HEADER_START, nil, 'parse_atx_heade= r') =20 - FENCED_CODEBLOCK_MATCH =3D /^(([~`]){3,})\s*?((\S+)(?:\?\S*)?)?\s*?\n(= .*?)^\1\2*\s*?\n/m + FENCED_CODEBLOCK_MATCH =3D /^(([~`]){3,})\s*?((\S+?)(?:\?\S*)?)?\s*?\n= (.*?)^\1\2*\s*?\n/m define_parser(:codeblock_fenced_gfm, /^[~`]{3,}/, nil, 'parse_codebloc= k_fenced') =20 STRIKETHROUGH_DELIM =3D /~~/ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/html.rb new/lib/kramdown/parser/h= tml.rb --- old/lib/kramdown/parser/html.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/parser/html.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -59,6 +59,12 @@ figcaption footer form h1 h2 h3 h4 h5 h6 head= er hgroup hr html head iframe legend menu li map nav ol optgroup p pre section summary = table tbody td th thead tfoot tr ul} HTML_ELEMENTS_WITHOUT_BODY =3D %w{area base br col command embed hr = img input keygen link meta param source track wbr} + + HTML_ELEMENT =3D Hash.new(false) + (HTML_SPAN_ELEMENTS + HTML_BLOCK_ELEMENTS + HTML_ELEMENTS_WITHOUT_BO= DY + + HTML_CONTENT_MODEL.keys).each do |a| + HTML_ELEMENT[a] =3D true + end end =20 =20 @@ -77,9 +83,10 @@ # element is already closed, ie. contains no body; the third paramet= er specifies whether the # body - and the end tag - need to be handled in case closed=3Dfalse= ). def handle_html_start_tag(line =3D nil) # :yields: el, closed, handl= e_body - name =3D @src[1].downcase + name =3D @src[1] + name.downcase! if HTML_ELEMENT[name.downcase] closed =3D !@src[4].nil? - attrs =3D parse_html_attributes(@src[2], line) + attrs =3D parse_html_attributes(@src[2], line, HTML_ELEMENT[name]) =20 el =3D Element.new(:html_element, name, attrs, :category =3D> :blo= ck) el.options[:location] =3D line if line @@ -99,10 +106,13 @@ # Parses the given string for HTML attributes and returns the result= ing hash. # # If the optional +line+ parameter is supplied, it is used in warnin= g messages. - def parse_html_attributes(str, line =3D nil) + # + # If the optional +in_html_tag+ parameter is set to +false+, attribu= tes are not modified to + # contain only lowercase letters. + def parse_html_attributes(str, line =3D nil, in_html_tag =3D true) attrs =3D Utils::OrderedHash.new str.scan(HTML_ATTRIBUTE_RE).each do |attr, sep, val| - attr.downcase! + attr.downcase! if in_html_tag if attrs.has_key?(attr) warning("Duplicate HTML attribute '#{attr}' on line #{line || = '?'} - overwriting previous one") end @@ -155,10 +165,11 @@ handle_html_start_tag(&block) # DEPRECATED: method needs t= o accept line number in 2.0 end elsif @src.scan(HTML_TAG_CLOSE_RE) - if @tree.value =3D=3D @src[1].downcase + if @tree.value =3D=3D (HTML_ELEMENT[@tree.value] ? @src[1].d= owncase : @src[1]) done =3D true else - warning("Found invalidly used HTML closing tag for '#{@src= [1].downcase}' on line #{line} - ignoring it") + add_text(@src.matched, @tree, :text) + warning("Found invalidly used HTML closing tag for '#{@src= [1]}' on line #{line} - ignoring it") end else add_text(@src.getch, @tree, :text) diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/abbreviation.rb new/lib/= kramdown/parser/kramdown/abbreviation.rb --- old/lib/kramdown/parser/kramdown/abbreviation.rb 2016-03-02 18:45:04.0000= 00000 +0100 +++ new/lib/kramdown/parser/kramdown/abbreviation.rb 2016-05-01 22:18:00.0000= 00000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/autolink.rb new/lib/kram= down/parser/kramdown/autolink.rb --- old/lib/kramdown/parser/kramdown/autolink.rb 2016-03-02 18:45:04.00000000= 0 +0100 +++ new/lib/kramdown/parser/kramdown/autolink.rb 2016-05-01 22:18:00.00000000= 0 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/blank_line.rb new/lib/kr= amdown/parser/kramdown/blank_line.rb --- old/lib/kramdown/parser/kramdown/blank_line.rb 2016-03-02 18:45:04.000000= 000 +0100 +++ new/lib/kramdown/parser/kramdown/blank_line.rb 2016-05-01 22:18:00.000000= 000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/block_boundary.rb new/li= b/kramdown/parser/kramdown/block_boundary.rb --- old/lib/kramdown/parser/kramdown/block_boundary.rb 2016-03-02 18:45:04.00= 0000000 +0100 +++ new/lib/kramdown/parser/kramdown/block_boundary.rb 2016-05-01 22:18:00.00= 0000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/blockquote.rb new/lib/kr= amdown/parser/kramdown/blockquote.rb --- old/lib/kramdown/parser/kramdown/blockquote.rb 2016-03-02 18:45:04.000000= 000 +0100 +++ new/lib/kramdown/parser/kramdown/blockquote.rb 2016-05-01 22:18:00.000000= 000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/codeblock.rb new/lib/kra= mdown/parser/kramdown/codeblock.rb --- old/lib/kramdown/parser/kramdown/codeblock.rb 2016-03-02 18:45:04.0000000= 00 +0100 +++ new/lib/kramdown/parser/kramdown/codeblock.rb 2016-05-01 22:18:00.0000000= 00 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/codespan.rb new/lib/kram= down/parser/kramdown/codespan.rb --- old/lib/kramdown/parser/kramdown/codespan.rb 2016-03-02 18:45:04.00000000= 0 +0100 +++ new/lib/kramdown/parser/kramdown/codespan.rb 2016-05-01 22:18:00.00000000= 0 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/emphasis.rb new/lib/kram= down/parser/kramdown/emphasis.rb --- old/lib/kramdown/parser/kramdown/emphasis.rb 2016-03-02 18:45:04.00000000= 0 +0100 +++ new/lib/kramdown/parser/kramdown/emphasis.rb 2016-05-01 22:18:00.00000000= 0 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -22,7 +22,7 @@ element =3D (result.length =3D=3D 2 ? :strong : :em) type =3D result[0..0] =20 - if (type =3D=3D '_' && @src.pre_match =3D~ /[[:alnum:]]\z/) || @src.= check(/\s/) || + if (type =3D=3D '_' && @src.pre_match =3D~ /[[:alpha:]-]\z/) || @src= .check(/\s/) || @tree.type =3D=3D element || @stack.any? {|el, _| el.type =3D=3D= element} add_text(result) return diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/eob.rb new/lib/kramdown/= parser/kramdown/eob.rb --- old/lib/kramdown/parser/kramdown/eob.rb 2016-03-02 18:45:04.000000000 +01= 00 +++ new/lib/kramdown/parser/kramdown/eob.rb 2016-05-01 22:18:00.000000000 +02= 00 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/escaped_chars.rb new/lib= /kramdown/parser/kramdown/escaped_chars.rb --- old/lib/kramdown/parser/kramdown/escaped_chars.rb 2016-03-02 18:45:04.000= 000000 +0100 +++ new/lib/kramdown/parser/kramdown/escaped_chars.rb 2016-05-01 22:18:00.000= 000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/extensions.rb new/lib/kr= amdown/parser/kramdown/extensions.rb --- old/lib/kramdown/parser/kramdown/extensions.rb 2016-03-02 18:45:04.000000= 000 +0100 +++ new/lib/kramdown/parser/kramdown/extensions.rb 2016-05-01 22:18:00.000000= 000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/footnote.rb new/lib/kram= down/parser/kramdown/footnote.rb --- old/lib/kramdown/parser/kramdown/footnote.rb 2016-03-02 18:45:04.00000000= 0 +0100 +++ new/lib/kramdown/parser/kramdown/footnote.rb 2016-05-01 22:18:00.00000000= 0 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/header.rb new/lib/kramdo= wn/parser/kramdown/header.rb --- old/lib/kramdown/parser/kramdown/header.rb 2016-03-02 18:45:04.000000000 = +0100 +++ new/lib/kramdown/parser/kramdown/header.rb 2016-05-01 22:18:00.000000000 = +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/horizontal_rule.rb new/l= ib/kramdown/parser/kramdown/horizontal_rule.rb --- old/lib/kramdown/parser/kramdown/horizontal_rule.rb 2016-03-02 18:45:04.0= 00000000 +0100 +++ new/lib/kramdown/parser/kramdown/horizontal_rule.rb 2016-05-01 22:18:00.0= 00000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/html.rb new/lib/kramdown= /parser/kramdown/html.rb --- old/lib/kramdown/parser/kramdown/html.rb 2016-03-02 18:45:04.000000000 +0= 100 +++ new/lib/kramdown/parser/kramdown/html.rb 2016-05-01 22:18:00.000000000 +0= 200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -113,14 +113,15 @@ warning("Found invalidly used HTML closing tag for '#{@src[1]}' on= line #{line}") add_text(result) elsif result =3D @src.scan(HTML_TAG_RE) - tag_name =3D @src[1].downcase + tag_name =3D @src[1] + tag_name.downcase! if HTML_ELEMENT[tag_name.downcase] if HTML_BLOCK_ELEMENTS.include?(tag_name) warning("Found block HTML tag '#{tag_name}' in span-level text o= n line #{line}") add_text(result) return end =20 - attrs =3D parse_html_attributes(@src[2], line) + attrs =3D parse_html_attributes(@src[2], line, HTML_ELEMENT[tag_na= me]) attrs.each {|name, value| value.gsub!(/\n+/, ' ')} =20 do_parsing =3D (HTML_CONTENT_MODEL[tag_name] =3D=3D :raw || @tree.= options[:content_model] =3D=3D :raw ? false : @options[:parse_span_html]) @@ -139,7 +140,8 @@ el =3D Element.new(:html_element, tag_name, attrs, :category =3D> = :span, :location =3D> line, :content_model =3D> (do_parsing ? :span : :raw), = :is_closed =3D> !!@src[4]) @tree.children << el - stop_re =3D /<\/#{Regexp.escape(tag_name)}\s*>/i + stop_re =3D /<\/#{Regexp.escape(tag_name)}\s*>/ + stop_re =3D Regexp.new(stop_re.source, Regexp::IGNORECASE) if HTML= _ELEMENT[tag_name] if !@src[4] && !HTML_ELEMENTS_WITHOUT_BODY.include?(el.value) if parse_spans(el, stop_re, (do_parsing ? nil : [:span_html])) @src.scan(stop_re) diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/html_entity.rb new/lib/k= ramdown/parser/kramdown/html_entity.rb --- old/lib/kramdown/parser/kramdown/html_entity.rb 2016-03-02 18:45:04.00000= 0000 +0100 +++ new/lib/kramdown/parser/kramdown/html_entity.rb 2016-05-01 22:18:00.00000= 0000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/line_break.rb new/lib/kr= amdown/parser/kramdown/line_break.rb --- old/lib/kramdown/parser/kramdown/line_break.rb 2016-03-02 18:45:04.000000= 000 +0100 +++ new/lib/kramdown/parser/kramdown/line_break.rb 2016-05-01 22:18:00.000000= 000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/link.rb new/lib/kramdown= /parser/kramdown/link.rb --- old/lib/kramdown/parser/kramdown/link.rb 2016-03-02 18:45:04.000000000 +0= 100 +++ new/lib/kramdown/parser/kramdown/link.rb 2016-05-01 22:18:00.000000000 +0= 200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/list.rb new/lib/kramdown= /parser/kramdown/list.rb --- old/lib/kramdown/parser/kramdown/list.rb 2016-03-02 18:45:04.000000000 +0= 100 +++ new/lib/kramdown/parser/kramdown/list.rb 2016-05-01 22:18:00.000000000 +0= 200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/math.rb new/lib/kramdown= /parser/kramdown/math.rb --- old/lib/kramdown/parser/kramdown/math.rb 2016-03-02 18:45:04.000000000 +0= 100 +++ new/lib/kramdown/parser/kramdown/math.rb 2016-05-01 22:18:00.000000000 +0= 200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/paragraph.rb new/lib/kra= mdown/parser/kramdown/paragraph.rb --- old/lib/kramdown/parser/kramdown/paragraph.rb 2016-03-02 18:45:04.0000000= 00 +0100 +++ new/lib/kramdown/parser/kramdown/paragraph.rb 2016-05-01 22:18:00.0000000= 00 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/smart_quotes.rb new/lib/= kramdown/parser/kramdown/smart_quotes.rb --- old/lib/kramdown/parser/kramdown/smart_quotes.rb 2016-03-02 18:45:04.0000= 00000 +0100 +++ new/lib/kramdown/parser/kramdown/smart_quotes.rb 2016-05-01 22:18:00.0000= 00000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/table.rb new/lib/kramdow= n/parser/kramdown/table.rb --- old/lib/kramdown/parser/kramdown/table.rb 2016-03-02 18:45:04.000000000 += 0100 +++ new/lib/kramdown/parser/kramdown/table.rb 2016-05-01 22:18:00.000000000 += 0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown/typographic_symbol.rb ne= w/lib/kramdown/parser/kramdown/typographic_symbol.rb --- old/lib/kramdown/parser/kramdown/typographic_symbol.rb 2016-03-02 18:45:0= 4.000000000 +0100 +++ new/lib/kramdown/parser/kramdown/typographic_symbol.rb 2016-05-01 22:18:0= 0.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/kramdown.rb new/lib/kramdown/pars= er/kramdown.rb --- old/lib/kramdown/parser/kramdown.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/parser/kramdown.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser/markdown.rb new/lib/kramdown/pars= er/markdown.rb --- old/lib/kramdown/parser/markdown.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/parser/markdown.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/parser.rb new/lib/kramdown/parser.rb --- old/lib/kramdown/parser.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/parser.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/utils/configurable.rb new/lib/kramdown/u= tils/configurable.rb --- old/lib/kramdown/utils/configurable.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/utils/configurable.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/utils/entities.rb new/lib/kramdown/utils= /entities.rb --- old/lib/kramdown/utils/entities.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/utils/entities.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/utils/html.rb new/lib/kramdown/utils/htm= l.rb --- old/lib/kramdown/utils/html.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/utils/html.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/utils/ordered_hash.rb new/lib/kramdown/u= tils/ordered_hash.rb --- old/lib/kramdown/utils/ordered_hash.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/utils/ordered_hash.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/utils/string_scanner.rb new/lib/kramdown= /utils/string_scanner.rb --- old/lib/kramdown/utils/string_scanner.rb 2016-03-02 18:45:04.000000000 +0= 100 +++ new/lib/kramdown/utils/string_scanner.rb 2016-05-01 22:18:00.000000000 +0= 200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/utils/unidecoder.rb new/lib/kramdown/uti= ls/unidecoder.rb --- old/lib/kramdown/utils/unidecoder.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/utils/unidecoder.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/utils.rb new/lib/kramdown/utils.rb --- old/lib/kramdown/utils.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/utils.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown/version.rb new/lib/kramdown/version.rb --- old/lib/kramdown/version.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown/version.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -10,6 +10,6 @@ module Kramdown =20 # The kramdown version. - VERSION =3D '1.10.0' + VERSION =3D '1.11.1' =20 end diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/lib/kramdown.rb new/lib/kramdown.rb --- old/lib/kramdown.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/lib/kramdown.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/metadata new/metadata --- old/metadata 2016-03-02 18:45:04.000000000 +0100 +++ new/metadata 2016-05-01 22:18:00.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: kramdown version: !ruby/object:Gem::Version - version: 1.10.0 + version: 1.11.1 platform: ruby authors: - Thomas Leitner autorequire:=20 bindir: bin cert_chain: [] -date: 2016-03-02 00:00:00.000000000 Z +date: 2016-05-01 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: minitest @@ -81,6 +81,20 @@ - !ruby/object:Gem::Version version: '2.0' - !ruby/object:Gem::Dependency + name: prawn-table + requirement: !ruby/object:Gem::Requirement + requirements: + - - "~>" + - !ruby/object:Gem::Version + version: 0.2.2 + type: :development + prerelease: false + version_requirements: !ruby/object:Gem::Requirement + requirements: + - - "~>" + - !ruby/object:Gem::Version + version: 0.2.2 +- !ruby/object:Gem::Dependency name: ritex requirement: !ruby/object:Gem::Requirement requirements: @@ -428,6 +442,8 @@ - test/testcases/block/09_html/simple.text - test/testcases/block/09_html/textarea.html - test/testcases/block/09_html/textarea.text +- test/testcases/block/09_html/xml.html +- test/testcases/block/09_html/xml.text - test/testcases/block/10_ald/simple.html - test/testcases/block/10_ald/simple.text - test/testcases/block/11_ial/auto_id_and_ial.html @@ -555,6 +571,7 @@ - test/testcases/span/02_emphasis/nesting.html - test/testcases/span/02_emphasis/nesting.text - test/testcases/span/02_emphasis/normal.html +- test/testcases/span/02_emphasis/normal.options - test/testcases/span/02_emphasis/normal.text - test/testcases/span/03_codespan/empty.html - test/testcases/span/03_codespan/empty.text @@ -611,6 +628,8 @@ - test/testcases/span/05_html/normal.text - test/testcases/span/05_html/raw_span_elements.html - test/testcases/span/05_html/raw_span_elements.text +- test/testcases/span/05_html/xml.html +- test/testcases/span/05_html/xml.text - test/testcases/span/abbreviations/abbrev.html - test/testcases/span/abbreviations/abbrev.text - test/testcases/span/abbreviations/abbrev_defs.html diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/run_tests.rb new/test/run_tests.rb --- old/test/run_tests.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/test/run_tests.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/test_files.rb new/test/test_files.rb --- old/test/test_files.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/test/test_files.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ @@ -65,6 +65,8 @@ 'test/testcases/block/15_math/mathjax_preview.html= ', # bc of mathjax preview 'test/testcases/block/15_math/mathjax_preview_simp= le.html', # bc of mathjax preview 'test/testcases/span/05_html/mark_element.html', #= bc of tidy + 'test/testcases/block/09_html/xml.html', # bc of t= idy + 'test/testcases/span/05_html/xml.html', # bc of ti= dy ].compact EXCLUDE_HTML_TEXT_FILES =3D ['test/testcases/block/09_html/parse_as_span= .htmlinput', 'test/testcases/block/09_html/parse_as_raw.ht= mlinput', @@ -169,6 +171,8 @@ 'test/testcases/span/math/mathjaxnode.text', # bc = of tidy 'test/testcases/span/01_link/link_defs_with_ial.te= xt', # bc of attribute ordering 'test/testcases/span/05_html/mark_element.text', #= bc of tidy + 'test/testcases/block/09_html/xml.text', # bc of t= idy + 'test/testcases/span/05_html/xml.text', # bc of ti= dy ].compact Dir[File.dirname(__FILE__) + '/testcases/**/*.text'].each do |text_file| next if EXCLUDE_TEXT_FILES.any? {|f| text_file =3D~ /#{f}$/} @@ -219,6 +223,8 @@ 'test/testcases/block/15_math/mathjax_preview_s= imple.html', # bc of mathjax preview 'test/testcases/span/01_link/link_defs_with_ial= .html', # bc of attribute ordering 'test/testcases/span/05_html/mark_element.html'= , # bc of tidy + 'test/testcases/block/09_html/xml.html', # bc o= f tidy + 'test/testcases/span/05_html/xml.html', # bc of= tidy ].compact Dir[File.dirname(__FILE__) + '/testcases/**/*.{html,html.19}'].each do |= html_file| next if EXCLUDE_HTML_KD_FILES.any? {|f| html_file =3D~ /#{f}(\.19)?$/} diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/test_location.rb new/test/test_location.rb --- old/test/test_location.rb 2016-03-02 18:45:04.000000000 +0100 +++ new/test/test_location.rb 2016-05-01 22:18:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/test_string_scanner_kramdown.rb new/test/test_st= ring_scanner_kramdown.rb --- old/test/test_string_scanner_kramdown.rb 2016-03-02 18:45:04.000000000 +0= 100 +++ new/test/test_string_scanner_kramdown.rb 2016-05-01 22:18:00.000000000 +0= 200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # #-- -# Copyright (C) 2009-2015 Thomas Leitner +# Copyright (C) 2009-2016 Thomas Leitner # # This file is part of kramdown which is licensed under the MIT. #++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/06_codeblock/highlighting-opts.h= tml new/test/testcases/block/06_codeblock/highlighting-opts.html --- old/test/testcases/block/06_codeblock/highlighting-opts.html 2016-03-02 1= 8:45:04.000000000 +0100 +++ new/test/testcases/block/06_codeblock/highlighting-opts.html 2016-05-01 2= 2:18:00.000000000 +0200 @@ -1,6 +1,6 @@ -
x =3D Class.new +
x = =3D Class.new
-
<a>href</a> +
<a>href</a>
diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/06_codeblock/highlighting.html n= ew/test/testcases/block/06_codeblock/highlighting.html --- old/test/testcases/block/06_codeblock/highlighting.html 2016-03-02 18:45:= 04.000000000 +0100 +++ new/test/testcases/block/06_codeblock/highlighting.html 2016-05-01 22:18:= 00.000000000 +0200 @@ -1,6 +1,6 @@ -
x =3D Class.new +
x = =3D Class.new
-
<a>href</a> +
<a>href</a>
diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/06_codeblock/rouge/simple.html n= ew/test/testcases/block/06_codeblock/rouge/simple.html --- old/test/testcases/block/06_codeblock/rouge/simple.html 2016-03-02 18:45:= 04.000000000 +0100 +++ new/test/testcases/block/06_codeblock/rouge/simple.html 2016-05-01 22:18:= 00.000000000 +0200 @@ -1,10 +1,10 @@ -
x =3D Class<=
span class=3D"p">.new
+
x =3D =
Class.new
 
-
<a>href</a>
+
<a>href</a>
 
=20 -
$foo =3D new=
 Bar;
+
$foo =3D new Bar;
 
diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/09_html/not_parsed.html new/test= /testcases/block/09_html/not_parsed.html --- old/test/testcases/block/09_html/not_parsed.html 2016-03-02 18:45:04.0000= 00000 +0100 +++ new/test/testcases/block/09_html/not_parsed.html 2016-05-01 22:18:00.0000= 00000 +0200 @@ -7,7 +7,7 @@
=20
- +</p>
=20
diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/09_html/simple.html new/test/tes= tcases/block/09_html/simple.html --- old/test/testcases/block/09_html/simple.html 2016-03-02 18:45:04.00000000= 0 +0100 +++ new/test/testcases/block/09_html/simple.html 2016-05-01 22:18:00.00000000= 0 +0200 @@ -49,10 +49,6 @@

Another para.

=20 - - -doit -

Test

=20

Test

diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/09_html/simple.html.19 new/test/= testcases/block/09_html/simple.html.19 --- old/test/testcases/block/09_html/simple.html.19 2016-03-02 18:45:04.00000= 0000 +0100 +++ new/test/testcases/block/09_html/simple.html.19 2016-05-01 22:18:00.00000= 0000 +0200 @@ -49,10 +49,6 @@

Another para.

=20 - - -doit -

Test

=20

Test

diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/09_html/simple.text new/test/tes= tcases/block/09_html/simple.text --- old/test/testcases/block/09_html/simple.text 2016-03-02 18:45:04.00000000= 0 +0100 +++ new/test/testcases/block/09_html/simple.text 2016-05-01 22:18:00.00000000= 0 +0200 @@ -40,14 +40,10 @@ =20 para6 =20 -
+
Another para.
=20 - - -doit - Test =20

Test

diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/09_html/xml.html new/test/testca= ses/block/09_html/xml.html --- old/test/testcases/block/09_html/xml.html 1970-01-01 01:00:00.000000000 += 0100 +++ new/test/testcases/block/09_html/xml.html 2016-05-01 22:18:00.000000000 += 0200 @@ -0,0 +1,8 @@ + + +doit + +doit + +doit</some> + diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/09_html/xml.text new/test/testca= ses/block/09_html/xml.text --- old/test/testcases/block/09_html/xml.text 1970-01-01 01:00:00.000000000 += 0100 +++ new/test/testcases/block/09_html/xml.text 2016-05-01 22:18:00.000000000 += 0200 @@ -0,0 +1,7 @@ + + +doit + +doit + +doit diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/block/12_extension/options3.html new/t= est/testcases/block/12_extension/options3.html --- old/test/testcases/block/12_extension/options3.html 2016-03-02 18:45:04.0= 00000000 +0100 +++ new/test/testcases/block/12_extension/options3.html 2016-05-01 22:18:00.0= 00000000 +0200 @@ -1,7 +1,7 @@ -
x =3D Class.new +
x = =3D Class.new
=20 -
x =3D Class.new +
x = =3D Class.new
diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/span/02_emphasis/normal.html new/test/= testcases/span/02_emphasis/normal.html --- old/test/testcases/span/02_emphasis/normal.html 2016-03-02 18:45:04.00000= 0000 +0100 +++ new/test/testcases/span/02_emphasis/normal.html 2016-05-01 22:18:00.00000= 0000 +0200 @@ -46,3 +46,16 @@ Or that *that* way

=20

http://blah.com/blah_%28

+ +

A-_B

+ +
    +
  • test
  • +
  • test
  • +
  • test
  • +
  • (“test”)
  • +
  • (test)
  • +
  • =E2=80=9Ctest=E2=80=9D
  • +
  • `test
  • +
  • =E2=80=9Etest=E2=80=9C
  • +
diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/span/02_emphasis/normal.options new/te= st/testcases/span/02_emphasis/normal.options --- old/test/testcases/span/02_emphasis/normal.options 1970-01-01 01:00:00.00= 0000000 +0100 +++ new/test/testcases/span/02_emphasis/normal.options 2016-05-01 22:18:00.00= 0000000 +0200 @@ -0,0 +1 @@ +:entity_output: :numeric diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/span/02_emphasis/normal.text new/test/= testcases/span/02_emphasis/normal.text --- old/test/testcases/span/02_emphasis/normal.text 2016-03-02 18:45:04.00000= 0000 +0100 +++ new/test/testcases/span/02_emphasis/normal.text 2016-05-01 22:18:00.00000= 0000 +0200 @@ -46,3 +46,14 @@ Or that \**that\** way =20 [http://blah.com/blah_%28](http://blah.com/blah_%28) + +[A-_B](A_-B) + +- _test_ +- '_test_' +- "_test_" +- ("_test_") +- (_test_) +- =E2=80=9C_test_=E2=80=9D +- \`_test_' +- =E2=80=9E_test_=E2=80=9C diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/span/05_html/xml.html new/test/testcas= es/span/05_html/xml.html --- old/test/testcases/span/05_html/xml.html 1970-01-01 01:00:00.000000000 +0= 100 +++ new/test/testcases/span/05_html/xml.html 2016-05-01 22:18:00.000000000 +0= 200 @@ -0,0 +1,5 @@ +

This doit test

+ +

This doit test

+ +

This doit</some> test

diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases/span/05_html/xml.text new/test/testcas= es/span/05_html/xml.text --- old/test/testcases/span/05_html/xml.text 1970-01-01 01:00:00.000000000 +0= 100 +++ new/test/testcases/span/05_html/xml.text 2016-05-01 22:18:00.000000000 +0= 200 @@ -0,0 +1,5 @@ +This doit test + +This doit test + +This doit test diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/test/testcases_gfm/backticks_syntax.html new/test/tes= tcases_gfm/backticks_syntax.html --- old/test/testcases_gfm/backticks_syntax.html 2016-03-02 18:45:04.00000000= 0 +0100 +++ new/test/testcases_gfm/backticks_syntax.html 2016-05-01 22:18:00.00000000= 0 +0200 @@ -7,13 +7,13 @@
Unbalanced bottom heavy
 
=20 -
+
1language no space
 
=20 -
+
1language with space
 
--===============4211280534039735508==--