Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-kramdown for
openSUSE:Factory checked in at 2021-04-18 21:45:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-kramdown (Old)
and /work/SRC/openSUSE:Factory/.rubygem-kramdown.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-kramdown"
Sun Apr 18 21:45:23 2021 rev:16 rq:886429 version:2.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-kramdown/rubygem-kramdown.changes
2020-08-29 20:36:39.493321603 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-kramdown.new.12324/rubygem-kramdown.changes
2021-04-18 21:45:39.836778006 +0200
@@ -1,0 +2,30 @@
+Mon Mar 29 22:34:17 UTC 2021 - Marcus Rueckert <[email protected]>
+
+- updated to version 2.3.1 CVE-2021-28834
+ - 2 minor change:
+ - Added rel="footnote" to footnote links (fixes #706 by
+ xplosionmind)
+ - Default options are now cached to avoid unnecessary
+ computations (fixes #685 by Aswhin Maroli)
+ - 6 bug fixes:
+ - Fixed abbreviations handling so that they won???t be replaced
+ in raw HTML tags (fixes #671 by Kaspar Etter)
+ - Restricted Rouge formatters to Rouge::Formatters namespace
+ (pull request #708 by Stan Hu)
+ - Fixed conversion of empty raw html td/th tags to kramdown
+ (fixes issue #682 by Virgil Ierubino)
+ - Fixed LaTeX entity conversion (pull request #681 by aschmitz)
+ - Fixed missing block attributes from IAL on standalone images
+ (pull request #668 by Tobin Yehle)
+ - Fixed inconsistency in how empty code spans are handle (fixes
+ #704 by cabo)
+ - 4 other change:
+ - Test on Ruby 2.7 and Ruby 3.0 (pull request #696 by timcraft)
+ - Fix rouge test failures due to new syntax (fixes issue #689
+ by Daniel Leidert)
+ - Clarified requirements for rouge option ???formatter??? (fixes
+ issue #617 by Aswhin Maroli)
+ - Removed warning in setup.rb (pull request #673 by Daniel
+ Bair)
+
+-------------------------------------------------------------------
@@ -57,0 +88,5 @@
+
+-------------------------------------------------------------------
+Tue Mar 5 15:43:27 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- disable ruby < 2.5
Old:
----
kramdown-2.3.0.gem
New:
----
kramdown-2.3.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-kramdown.spec ++++++
--- /var/tmp/diff_new_pack.4IBbHU/_old 2021-04-18 21:45:40.356778886 +0200
+++ /var/tmp/diff_new_pack.4IBbHU/_new 2021-04-18 21:45:40.360778892 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-kramdown
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
#
Name: rubygem-kramdown
-Version: 2.3.0
+Version: 2.3.1
Release: 0
%define mod_name kramdown
%define mod_full_name %{mod_name}-%{version}
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.4IBbHU/_old 2021-04-18 21:45:40.400778960 +0200
+++ /var/tmp/diff_new_pack.4IBbHU/_new 2021-04-18 21:45:40.404778966 +0200
@@ -21,9 +21,11 @@
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
-# bar.patch:
+# bar.patch:
+# :post_patch:
+# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm
-:sources:
+# :sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
@@ -54,7 +56,7 @@
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
-# :custom:
+# :custom_pkgs:
# apache:
# :preamble: |-
# Requires: .....
@@ -67,4 +69,4 @@
# bar
# :post: |-
# /bin/echo foo
-#
+:disable_docs: true
++++++ kramdown-2.3.0.gem -> kramdown-2.3.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CONTRIBUTERS new/CONTRIBUTERS
--- old/CONTRIBUTERS 2020-06-28 23:38:07.000000000 +0200
+++ new/CONTRIBUTERS 2021-03-18 00:51:22.000000000 +0100
@@ -1,6 +1,6 @@
Count Name
======= ====
- 943 Thomas Leitner <[email protected]>
+ 944 Thomas Leitner <[email protected]>
18 Ashwin Maroli <[email protected]>
7 Christian Cornelssen <[email protected]>
6 Gioele Barabucci <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2020-06-28 23:38:07.000000000 +0200
+++ new/README.md 2021-03-18 00:51:22.000000000 +0100
@@ -7,8 +7,14 @@
projects, too.
However, if you use kramdown in a commercial setting, please consider
**contributing back any
-changes** for the benefit of the community and/or
-[**becoming a patron**](https://www.patreon.com/gettalong) - thanks!
+changes** for the benefit of the community and/or [**becoming a
+sponsor**](https://github.com/sponsors/gettalong/) or [**a
+patron**](https://www.patreon.com/gettalong) - thanks!
+
+Sponsors:
+
+* **GROSSWEBER** provides <a href="http://grossweber.com/b/kramdown"
target="_blank">software
+ development consulting and training services</a>.
## Introduction
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
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 2020-06-28 23:38:07.000000000 +0200
+++ new/lib/kramdown/converter/html.rb 2021-03-18 00:51:22.000000000 +0100
@@ -88,7 +88,7 @@
inner(el, indent)
elsif el.children.size == 1 && el.children.first.type == :img &&
el.children.first.options[:ial]&.[](:refs)&.include?('standalone')
- convert_standalone_image(el.children.first, indent)
+ convert_standalone_image(el, indent)
else
format_as_block_html("p", el.attr, inner(el, indent), indent)
end
@@ -97,12 +97,14 @@
# Helper method used by +convert_p+ to convert a paragraph that only
contains a single :img
# element.
def convert_standalone_image(el, indent)
- attr = el.attr.dup
- figure_attr = {}
- figure_attr['class'] = attr.delete('class') if attr.key?('class')
- figure_attr['id'] = attr.delete('id') if attr.key?('id')
- body = "#{' ' * (indent + @indent)}<img#{html_attributes(attr)} />\n" \
- "#{' ' * (indent +
@indent)}<figcaption>#{attr['alt']}</figcaption>\n"
+ figure_attr = el.attr.dup
+ image_attr = el.children.first.attr.dup
+
+ figure_attr['class'] = image_attr.delete('class') if
image_attr.key?('class') and not figure_attr.key?('class')
+ figure_attr['id'] = image_attr.delete('id') if image_attr.key?('id')
and not figure_attr.key?('id')
+
+ body = "#{' ' * (indent + @indent)}<img#{html_attributes(image_attr)}
/>\n" \
+ "#{' ' * (indent +
@indent)}<figcaption>#{image_attr['alt']}</figcaption>\n"
format_as_indented_block_html("figure", figure_attr, body, indent)
end
@@ -302,7 +304,7 @@
@footnotes_by_name[name] = @footnotes.last
end
"<sup id=\"fnref:#{name}#{repeat}\" role=\"doc-noteref\">" \
- "<a href=\"#fn:#{name}\" class=\"footnote\">" \
+ "<a href=\"#fn:#{name}\" class=\"footnote\" rel=\"footnote\">" \
"#{number}</a></sup>"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/kramdown/converter/kramdown.rb
new/lib/kramdown/converter/kramdown.rb
--- old/lib/kramdown/converter/kramdown.rb 2020-06-28 23:38:07.000000000
+0200
+++ new/lib/kramdown/converter/kramdown.rb 2021-03-18 00:51:22.000000000
+0100
@@ -182,7 +182,7 @@
result << inner(el, opts) << "\n"
end
- HTML_TAGS_WITH_BODY = ['div', 'script', 'iframe', 'textarea']
+ HTML_TAGS_WITH_BODY = ['div', 'script', 'iframe', 'textarea', 'th', 'td']
HTML_ELEMENT_TYPES = [:entity, :text, :html_element].freeze
private_constant :HTML_ELEMENT_TYPES
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 2020-06-28 23:38:07.000000000 +0200
+++ new/lib/kramdown/converter/latex.rb 2021-03-18 00:51:22.000000000 +0100
@@ -517,7 +517,7 @@
8194 => ['\hskip .5em\relax'],
8195 => ['\quad'],
} # :nodoc:
- ENTITY_CONV_TABLE.each_value {|v| v[0] = "{}#{v[0]}" }
+ ENTITY_CONV_TABLE.each_value {|v| v[0] = "#{v[0]}{}" }
def entity_to_latex(entity)
text, package = ENTITY_CONV_TABLE[entity.code_point]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/kramdown/converter/syntax_highlighter/rouge.rb
new/lib/kramdown/converter/syntax_highlighter/rouge.rb
--- old/lib/kramdown/converter/syntax_highlighter/rouge.rb 2020-06-28
23:38:07.000000000 +0200
+++ new/lib/kramdown/converter/syntax_highlighter/rouge.rb 2021-03-18
00:51:22.000000000 +0100
@@ -70,7 +70,7 @@
when Class
formatter
when /\A[[:upper:]][[:alnum:]_]*\z/
- ::Rouge::Formatters.const_get(formatter)
+ ::Rouge::Formatters.const_get(formatter, false)
else
# Available in Rouge 2.0 or later
::Rouge::Formatters::HTMLLegacy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/kramdown/options.rb new/lib/kramdown/options.rb
--- old/lib/kramdown/options.rb 2020-06-28 23:38:07.000000000 +0200
+++ new/lib/kramdown/options.rb 2021-03-18 00:51:22.000000000 +0100
@@ -39,6 +39,7 @@
ALLOWED_TYPES = [String, Integer, Float, Symbol, Boolean, Object]
@options = {}
+ @cached_defaults = nil
# Define a new option called +name+ (a Symbol) with the given +type+
(String, Integer, Float,
# Symbol, Boolean, Object), default value +default+ and the description
+desc+. If a block is
@@ -54,6 +55,7 @@
raise ArgumentError, "Invalid type for default value" if !(type ===
default) && !default.nil?
raise ArgumentError, "Missing validator block" if type == Object &&
block.nil?
@options[name] = Definition.new(name, type, default, desc, block)
+ @cached_defaults = nil
end
# Return all option definitions.
@@ -68,15 +70,17 @@
# Return a Hash with the default values for all options.
def self.defaults
- temp = {}
- @options.each {|_n, o| temp[o.name] = o.default }
- temp
+ @cached_defaults ||= begin
+ temp = {}
+ @options.each {|_n, o| temp[o.name] = o.default }
+ temp.freeze
+ end
end
# Merge the #defaults Hash with the *parsed* options from the given Hash,
i.e. only valid option
# names are considered and their value is run through the #parse method.
def self.merge(hash)
- temp = defaults
+ temp = defaults.dup
hash.each do |k, v|
k = k.to_sym
temp[k] = @options.key?(k) ? parse(k, v) : v
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/kramdown/parser/kramdown/abbreviation.rb
new/lib/kramdown/parser/kramdown/abbreviation.rb
--- old/lib/kramdown/parser/kramdown/abbreviation.rb 2020-06-28
23:38:07.000000000 +0200
+++ new/lib/kramdown/parser/kramdown/abbreviation.rb 2021-03-18
00:51:22.000000000 +0100
@@ -46,7 +46,7 @@
regexps << /(?=(?:\W|^)#{regexps.first}(?!\w))/ # regexp should only
match on word boundaries
end
el.children.map! do |child|
- if child.type == :text
+ if child.type == :text && el.options[:content_model] != :raw
if child.value =~ regexps.first
result = []
strscan = Kramdown::Utils::StringScanner.new(child.value,
child.options[:location])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/kramdown/parser/kramdown/codespan.rb
new/lib/kramdown/parser/kramdown/codespan.rb
--- old/lib/kramdown/parser/kramdown/codespan.rb 2020-06-28
23:38:07.000000000 +0200
+++ new/lib/kramdown/parser/kramdown/codespan.rb 2021-03-18
00:51:22.000000000 +0100
@@ -20,7 +20,7 @@
simple = (result.length == 1)
saved_pos = @src.save_pos
- if simple && @src.pre_match =~ /\s\Z/ && @src.match?(/\s/)
+ if simple && @src.pre_match =~ /\s\Z|\A\Z/ && @src.match?(/\s/)
add_text(result)
return
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 2020-06-28 23:38:07.000000000 +0200
+++ new/lib/kramdown/version.rb 2021-03-18 00:51:22.000000000 +0100
@@ -10,6 +10,6 @@
module Kramdown
# The kramdown version.
- VERSION = '2.3.0'
+ VERSION = '2.3.1'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2020-06-28 23:38:07.000000000 +0200
+++ new/metadata 2021-03-18 00:51:22.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: kramdown
version: !ruby/object:Gem::Version
- version: 2.3.0
+ version: 2.3.1
platform: ruby
authors:
- Thomas Leitner
autorequire:
bindir: bin
cert_chain: []
-date: 2020-06-28 00:00:00.000000000 Z
+date: 2021-03-17 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rexml
@@ -42,16 +42,22 @@
name: rouge
requirement: !ruby/object:Gem::Requirement
requirements:
+ - - "~>"
+ - !ruby/object:Gem::Version
+ version: '3.0'
- - ">="
- !ruby/object:Gem::Version
- version: '0'
+ version: 3.26.0
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
+ - - "~>"
+ - !ruby/object:Gem::Version
+ version: '3.0'
- - ">="
- !ruby/object:Gem::Version
- version: '0'
+ version: 3.26.0
- !ruby/object:Gem::Dependency
name: stringex
requirement: !ruby/object:Gem::Requirement
@@ -366,6 +372,8 @@
- test/testcases/block/09_html/simple.text
- test/testcases/block/09_html/standalone_image_in_div.htmlinput
- test/testcases/block/09_html/standalone_image_in_div.text
+- test/testcases/block/09_html/table.kramdown
+- test/testcases/block/09_html/table.text
- test/testcases/block/09_html/textarea.html
- test/testcases/block/09_html/textarea.text
- test/testcases/block/09_html/xml.html
@@ -580,6 +588,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/abbrev_in_html.html
+- test/testcases/span/abbreviations/abbrev_in_html.text
- test/testcases/span/abbreviations/in_footnote.html
- test/testcases/span/abbreviations/in_footnote.text
- test/testcases/span/autolinks/url_links.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/test_files.rb new/test/test_files.rb
--- old/test/test_files.rb 2020-06-28 23:38:07.000000000 +0200
+++ new/test/test_files.rb 2021-03-18 00:51:22.000000000 +0100
@@ -21,16 +21,20 @@
end
# custom formatter for tests
- class RougeHTMLFormatters <
Kramdown::Converter::SyntaxHighlighter::Rouge.formatter_class
-
- tag 'rouge_html_formatters'
+ module Rouge
+ module Formatters
+ class RougeHTMLFormatters <
Kramdown::Converter::SyntaxHighlighter::Rouge.formatter_class
+
+ tag 'rouge_html_formatters'
+
+ def stream(tokens, &b)
+ yield %(<div class="custom-class">)
+ super
+ yield %(</div>)
+ end
- def stream(tokens, &b)
- yield %(<div class="custom-class">)
- super
- yield %(</div>)
+ end
end
-
end
rescue LoadError, SyntaxError, NameError
end
@@ -180,6 +184,7 @@
'test/testcases/block/03_paragraph/standalone_image.text', # bc of
standalone image
'test/testcases/cjk-line-break.text',
'test/testcases/block/09_html/standalone_image_in_div.html', # bc of
standalone image
+ 'test/testcases/span/abbreviations/abbrev_in_html.text', # bc of invalid
abbr tag in SVG
].compact
Dir[File.dirname(__FILE__) + '/testcases/**/*.text'].each do |text_file|
next if EXCLUDE_TEXT_FILES.any? {|f| text_file =~ /#{f}$/ }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/testcases/block/03_paragraph/standalone_image.html
new/test/testcases/block/03_paragraph/standalone_image.html
--- old/test/testcases/block/03_paragraph/standalone_image.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/03_paragraph/standalone_image.html 2021-03-18
00:51:22.000000000 +0100
@@ -5,4 +5,9 @@
<figcaption>standalone image</figcaption>
</figure>
+<figure id="block-id" class="block-class" block-key="block-value">
+ <img src="some.jpg" alt="standalone image" id="id" class="class" key="value"
/>
+ <figcaption>standalone image</figcaption>
+</figure>
+
<p>para</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/testcases/block/03_paragraph/standalone_image.text
new/test/testcases/block/03_paragraph/standalone_image.text
--- old/test/testcases/block/03_paragraph/standalone_image.text 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/03_paragraph/standalone_image.text 2021-03-18
00:51:22.000000000 +0100
@@ -3,4 +3,7 @@
{:#id .class key="value" standalone}
+{:#id .class key="value" standalone}
+{:#block-id .block-class block-key="block-value"}
+
para
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/06_codeblock/rouge/multiple.html 2021-03-18
00:51:22.000000000 +0100
@@ -6,6 +6,6 @@
</code></pre>
</div></div></div>
-<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>
+<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="nc">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/06_codeblock/rouge/simple.html
new/test/testcases/block/06_codeblock/rouge/simple.html
--- old/test/testcases/block/06_codeblock/rouge/simple.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/06_codeblock/rouge/simple.html 2021-03-18
00:51:22.000000000 +0100
@@ -5,6 +5,6 @@
</code></pre>
</div></div>
-<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>
+<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="nc">Bar</span><span class="p">;</span>
</code></pre>
</div></div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/block/09_html/table.kramdown
new/test/testcases/block/09_html/table.kramdown
--- old/test/testcases/block/09_html/table.kramdown 1970-01-01
01:00:00.000000000 +0100
+++ new/test/testcases/block/09_html/table.kramdown 2021-03-18
00:51:22.000000000 +0100
@@ -0,0 +1,8 @@
+<table>
+<tr>
+<th>test</th>
+<th></th>
+<td></td>
+</tr>
+</table>
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/block/09_html/table.text
new/test/testcases/block/09_html/table.text
--- old/test/testcases/block/09_html/table.text 1970-01-01 01:00:00.000000000
+0100
+++ new/test/testcases/block/09_html/table.text 2021-03-18 00:51:22.000000000
+0100
@@ -0,0 +1,7 @@
+<table>
+<tr>
+<th>test</th>
+<th></th>
+<td></td>
+</tr>
+</table>
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/12_extension/options.html 2021-03-18
00:51:22.000000000 +0100
@@ -10,7 +10,7 @@
<p>some <span><em>para</em></span></p>
</div>
-<p>Some text<sup id="fnref:ab" role="doc-noteref"><a href="#fn:ab"
class="footnote">10</a></sup>.</p>
+<p>Some text<sup id="fnref:ab" role="doc-noteref"><a href="#fn:ab"
class="footnote" rel="footnote">10</a></sup>.</p>
<div class="footnotes" role="doc-endnotes">
<ol start="10">
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/12_extension/options2.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,5 +1,5 @@
-<p>Some text<sup id="fnref:ab" role="doc-noteref"><a href="#fn:ab"
class="footnote">1</a></sup>.</p>
+<p>Some text<sup id="fnref:ab" role="doc-noteref"><a href="#fn:ab"
class="footnote" rel="footnote">1</a></sup>.</p>
<div class="footnotes" role="doc-endnotes">
<ol>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/testcases/block/14_table/table_with_footnote.html
new/test/testcases/block/14_table/table_with_footnote.html
--- old/test/testcases/block/14_table/table_with_footnote.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/14_table/table_with_footnote.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,7 +1,7 @@
<table>
<tbody>
<tr>
- <td>this is <sup id="fnref:1" role="doc-noteref"><a href="#fn:1"
class="footnote">1</a></sup></td>
+ <td>this is <sup id="fnref:1" role="doc-noteref"><a href="#fn:1"
class="footnote" rel="footnote">1</a></sup></td>
<td>a table</td>
</tr>
<tr>
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/block/16_toc/toc_with_footnotes.html 2021-03-18
00:51:22.000000000 +0100
@@ -2,7 +2,7 @@
<li><a href="#header1-level-1" id="markdown-toc-header1-level-1">Header
level 1</a></li>
</ul>
-<h1 id="header1-level-1">Header<sup id="fnref:1" role="doc-noteref"><a
href="#fn:1" class="footnote">1</a></sup> level 1</h1>
+<h1 id="header1-level-1">Header<sup id="fnref:1" role="doc-noteref"><a
href="#fn:1" class="footnote" rel="footnote">1</a></sup> level 1</h1>
<div class="footnotes" role="doc-endnotes">
<ol>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/03_codespan/normal.html
new/test/testcases/span/03_codespan/normal.html
--- old/test/testcases/span/03_codespan/normal.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/03_codespan/normal.html 2021-03-18
00:51:22.000000000 +0100
@@ -14,3 +14,7 @@
<p>No <code>literal backtick</code>.</p>
<p><code>something</code></p>
+
+<p>` `</p>
+
+<p>a ` `</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/03_codespan/normal.text
new/test/testcases/span/03_codespan/normal.text
--- old/test/testcases/span/03_codespan/normal.text 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/03_codespan/normal.text 2021-03-18
00:51:22.000000000 +0100
@@ -14,3 +14,7 @@
No `` literal backtick``.
`something`
+
+` `
+
+a ` `
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/04_footnote/backlink_inline.html
new/test/testcases/span/04_footnote/backlink_inline.html
--- old/test/testcases/span/04_footnote/backlink_inline.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/backlink_inline.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,4 +1,4 @@
-<p>This is <sup id="fnref:paragraph" role="doc-noteref"><a
href="#fn:paragraph" class="footnote">1</a></sup><sup id="fnref:header"
role="doc-noteref"><a href="#fn:header" class="footnote">2</a></sup><sup
id="fnref:blockquote" role="doc-noteref"><a href="#fn:blockquote"
class="footnote">3</a></sup><sup id="fnref:codeblock" role="doc-noteref"><a
href="#fn:codeblock" class="footnote">4</a></sup><sup id="fnref:list"
role="doc-noteref"><a href="#fn:list" class="footnote">5</a></sup><sup
id="fnref:table" role="doc-noteref"><a href="#fn:table"
class="footnote">6</a></sup><sup id="fnref:hrule" role="doc-noteref"><a
href="#fn:hrule" class="footnote">7</a></sup><sup id="fnref:mathblock"
role="doc-noteref"><a href="#fn:mathblock" class="footnote">8</a></sup><sup
id="fnref:html" role="doc-noteref"><a href="#fn:html"
class="footnote">9</a></sup></p>
+<p>This is <sup id="fnref:paragraph" role="doc-noteref"><a
href="#fn:paragraph" class="footnote" rel="footnote">1</a></sup><sup
id="fnref:header" role="doc-noteref"><a href="#fn:header" class="footnote"
rel="footnote">2</a></sup><sup id="fnref:blockquote" role="doc-noteref"><a
href="#fn:blockquote" class="footnote" rel="footnote">3</a></sup><sup
id="fnref:codeblock" role="doc-noteref"><a href="#fn:codeblock"
class="footnote" rel="footnote">4</a></sup><sup id="fnref:list"
role="doc-noteref"><a href="#fn:list" class="footnote"
rel="footnote">5</a></sup><sup id="fnref:table" role="doc-noteref"><a
href="#fn:table" class="footnote" rel="footnote">6</a></sup><sup
id="fnref:hrule" role="doc-noteref"><a href="#fn:hrule" class="footnote"
rel="footnote">7</a></sup><sup id="fnref:mathblock" role="doc-noteref"><a
href="#fn:mathblock" class="footnote" rel="footnote">8</a></sup><sup
id="fnref:html" role="doc-noteref"><a href="#fn:html" class="footnote"
rel="footnote">9</a></sup></p>
<div class="footnotes" role="doc-endnotes">
<ol>
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/backlink_text.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,4 +1,4 @@
-<p>Some footnote here<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn"
class="footnote">1</a></sup></p>
+<p>Some footnote here<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn"
class="footnote" rel="footnote">1</a></sup></p>
<div class="footnotes" role="doc-endnotes">
<ol>
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/footnote_nr.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,4 +1,4 @@
-<p>This is a footnote<sup id="fnref:ab" role="doc-noteref"><a href="#fn:ab"
class="footnote">35</a></sup>. And another<sup id="fnref:bc"
role="doc-noteref"><a href="#fn:bc" class="footnote">36</a></sup>.</p>
+<p>This is a footnote<sup id="fnref:ab" role="doc-noteref"><a href="#fn:ab"
class="footnote" rel="footnote">35</a></sup>. And another<sup id="fnref:bc"
role="doc-noteref"><a href="#fn:bc" class="footnote"
rel="footnote">36</a></sup>.</p>
<div class="footnotes" role="doc-endnotes">
<ol start="35">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/04_footnote/footnote_prefix.html
new/test/testcases/span/04_footnote/footnote_prefix.html
--- old/test/testcases/span/04_footnote/footnote_prefix.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/footnote_prefix.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,4 +1,4 @@
-<p>This is a<sup id="fnref:adf123-ab" role="doc-noteref"><a
href="#fn:adf123-ab" class="footnote">1</a></sup> footnote<sup
id="fnref:adf123-ab:1" role="doc-noteref"><a href="#fn:adf123-ab"
class="footnote">1</a></sup>. And another<sup id="fnref:adf123-bc"
role="doc-noteref"><a href="#fn:adf123-bc" class="footnote">2</a></sup>.</p>
+<p>This is a<sup id="fnref:adf123-ab" role="doc-noteref"><a
href="#fn:adf123-ab" class="footnote" rel="footnote">1</a></sup> footnote<sup
id="fnref:adf123-ab:1" role="doc-noteref"><a href="#fn:adf123-ab"
class="footnote" rel="footnote">1</a></sup>. And another<sup
id="fnref:adf123-bc" role="doc-noteref"><a href="#fn:adf123-bc"
class="footnote" rel="footnote">2</a></sup>.</p>
<div class="footnotes" role="doc-endnotes">
<ol>
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/inside_footnote.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,11 +1,11 @@
-<p>Lorem ipsum<sup id="fnref:first" role="doc-noteref"><a href="#fn:first"
class="footnote">1</a></sup> dolor sit amet.</p>
+<p>Lorem ipsum<sup id="fnref:first" role="doc-noteref"><a href="#fn:first"
class="footnote" rel="footnote">1</a></sup> dolor sit amet.</p>
-<p>Lorem ipsum<sup id="fnref:second" role="doc-noteref"><a href="#fn:second"
class="footnote">2</a></sup> dolor sit amet.</p>
+<p>Lorem ipsum<sup id="fnref:second" role="doc-noteref"><a href="#fn:second"
class="footnote" rel="footnote">2</a></sup> dolor sit amet.</p>
<div class="footnotes" role="doc-endnotes">
<ol>
<li id="fn:first" role="doc-endnote">
- <p>Consecutur adisping.<sup id="fnref:third" role="doc-noteref"><a
href="#fn:third" class="footnote">3</a></sup>??<a href="#fnref:first"
class="reversefootnote" role="doc-backlink">↩</a></p>
+ <p>Consecutur adisping.<sup id="fnref:third" role="doc-noteref"><a
href="#fn:third" class="footnote" rel="footnote">3</a></sup>??<a
href="#fnref:first" class="reversefootnote" role="doc-backlink">↩</a></p>
</li>
<li id="fn:second" role="doc-endnote">
<p>Sed ut perspiciatis unde omnis.??<a href="#fnref:second"
class="reversefootnote" role="doc-backlink">↩</a></p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/04_footnote/markers.html
new/test/testcases/span/04_footnote/markers.html
--- old/test/testcases/span/04_footnote/markers.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/markers.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,18 +1,18 @@
-<p>This is some *ref.<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn"
class="footnote">1</a></sup></p>
+<p>This is some *ref.<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn"
class="footnote" rel="footnote">1</a></sup></p>
<blockquote>
- <p>a blockquote <sup id="fnref:3" role="doc-noteref"><a href="#fn:3"
class="footnote">2</a></sup></p>
+ <p>a blockquote <sup id="fnref:3" role="doc-noteref"><a href="#fn:3"
class="footnote" rel="footnote">2</a></sup></p>
</blockquote>
<ul>
- <li>and a list item <sup id="fnref:1" role="doc-noteref"><a href="#fn:1"
class="footnote">3</a></sup></li>
+ <li>and a list item <sup id="fnref:1" role="doc-noteref"><a href="#fn:1"
class="footnote" rel="footnote">3</a></sup></li>
</ul>
-<h1>And a header<sup id="fnref:now" role="doc-noteref"><a href="#fn:now"
class="footnote">4</a></sup></h1>
+<h1>And a header<sup id="fnref:now" role="doc-noteref"><a href="#fn:now"
class="footnote" rel="footnote">4</a></sup></h1>
<p>A marker without a definition [^without].</p>
-<p>A marker <sup id="fnref:empty" role="doc-noteref"><a href="#fn:empty"
class="footnote">5</a></sup> used twice<sup id="fnref:fn:1"
role="doc-noteref"><a href="#fn:fn" class="footnote">1</a></sup> and thrice<sup
id="fnref:fn:2" role="doc-noteref"><a href="#fn:fn"
class="footnote">1</a></sup>.</p>
+<p>A marker <sup id="fnref:empty" role="doc-noteref"><a href="#fn:empty"
class="footnote" rel="footnote">5</a></sup> used twice<sup id="fnref:fn:1"
role="doc-noteref"><a href="#fn:fn" class="footnote" rel="footnote">1</a></sup>
and thrice<sup id="fnref:fn:2" role="doc-noteref"><a href="#fn:fn"
class="footnote" rel="footnote">1</a></sup>.</p>
<div class="footnotes" role="doc-endnotes">
<ol>
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/placement.html 2021-03-18
00:51:22.000000000 +0100
@@ -6,6 +6,6 @@
</ol>
</div>
-<p>Some para with a<sup id="fnref:1" role="doc-noteref"><a href="#fn:1"
class="footnote">1</a></sup> footnote.</p>
+<p>Some para with a<sup id="fnref:1" role="doc-noteref"><a href="#fn:1"
class="footnote" rel="footnote">1</a></sup> footnote.</p>
<p>And another para.</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/04_footnote/regexp_problem.html
new/test/testcases/span/04_footnote/regexp_problem.html
--- old/test/testcases/span/04_footnote/regexp_problem.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/regexp_problem.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,5 +1,5 @@
<h1>Something</h1>
-<p>something<sup id="fnref:note1" role="doc-noteref"><a href="#fn:note1"
class="footnote">1</a></sup>.</p>
+<p>something<sup id="fnref:note1" role="doc-noteref"><a href="#fn:note1"
class="footnote" rel="footnote">1</a></sup>.</p>
<h1>Footnotes</h1>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/testcases/span/04_footnote/without_backlink.html
new/test/testcases/span/04_footnote/without_backlink.html
--- old/test/testcases/span/04_footnote/without_backlink.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/04_footnote/without_backlink.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,4 +1,4 @@
-<p>Some footnote here<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn"
class="footnote">1</a></sup></p>
+<p>Some footnote here<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn"
class="footnote" rel="footnote">1</a></sup></p>
<div class="footnotes" role="doc-endnotes">
<ol>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/testcases/span/abbreviations/abbrev_in_html.html
new/test/testcases/span/abbreviations/abbrev_in_html.html
--- old/test/testcases/span/abbreviations/abbrev_in_html.html 1970-01-01
01:00:00.000000000 +0100
+++ new/test/testcases/span/abbreviations/abbrev_in_html.html 2021-03-18
00:51:22.000000000 +0100
@@ -0,0 +1,9 @@
+<p>This is <em>some <abbr title="This Escapes SVG Text.">TEST</abbr></em> to
check.</p>
+
+<svg width="100" height="30" viewBox="0 0 100 30"
xmlns="http://www.w3.org/2000/svg">
+ <text x="20" y="20">This TEST fails.</text>
+</svg>
+<svg width="100" height="30" viewBox="0 0 100 30"
xmlns="http://www.w3.org/2000/svg">
+ <text x="20" y="20">This <abbr title="This Escapes SVG Text.">TEST</abbr>
fails.</text>
+</svg>
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/test/testcases/span/abbreviations/abbrev_in_html.text
new/test/testcases/span/abbreviations/abbrev_in_html.text
--- old/test/testcases/span/abbreviations/abbrev_in_html.text 1970-01-01
01:00:00.000000000 +0100
+++ new/test/testcases/span/abbreviations/abbrev_in_html.text 2021-03-18
00:51:22.000000000 +0100
@@ -0,0 +1,10 @@
+This is <em>some TEST</em> to check.
+
+<svg width="100" height="30" viewBox="0 0 100 30"
xmlns="http://www.w3.org/2000/svg">
+ <text x="20" y="20">This TEST fails.</text>
+</svg>
+<svg width="100" height="30" viewBox="0 0 100 30"
xmlns="http://www.w3.org/2000/svg">
+ <text x="20" y="20" markdown="span">This TEST fails.</text>
+</svg>
+
+*[TEST]: This Escapes SVG Text.
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 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/abbreviations/in_footnote.html 2021-03-18
00:51:22.000000000 +0100
@@ -1,4 +1,4 @@
-<p>There is a <abbr title="Text File">TXT</abbr> file here. <sup id="fnref:1"
role="doc-noteref"><a href="#fn:1" class="footnote">1</a></sup></p>
+<p>There is a <abbr title="Text File">TXT</abbr> file here. <sup id="fnref:1"
role="doc-noteref"><a href="#fn:1" class="footnote"
rel="footnote">1</a></sup></p>
<div class="footnotes" role="doc-endnotes">
<ol>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/text_substitutions/entities.html
new/test/testcases/span/text_substitutions/entities.html
--- old/test/testcases/span/text_substitutions/entities.html 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/text_substitutions/entities.html 2021-03-18
00:51:22.000000000 +0100
@@ -3,4 +3,4 @@
values may ¯ may also show but
not st. like &#xYZ;.</p>
-<p>This is BS&T; done!</p>
+<p>This <span> is BS&T; done!</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/testcases/span/text_substitutions/entities.text
new/test/testcases/span/text_substitutions/entities.text
--- old/test/testcases/span/text_substitutions/entities.text 2020-06-28
23:38:07.000000000 +0200
+++ new/test/testcases/span/text_substitutions/entities.text 2021-03-18
00:51:22.000000000 +0100
@@ -3,4 +3,4 @@
values may ¯ may also show but
not st. like &#xYZ;.
-This is BS&T; done!
+This <span> is BS&T; done!