diff options
Diffstat (limited to 'dev-python/markdown2/files')
-rw-r--r-- | dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch b/dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch deleted file mode 100644 index 9a28e6b..0000000 --- a/dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 55ba78e29ac983978806970ce4b81718fe68275b Mon Sep 17 00:00:00 2001 -From: ryanvilbrandt <ryan.vilbrandt@gmail.com> -Date: Tue, 26 Nov 2019 13:54:27 -0800 -Subject: [PATCH] Fixed code highlighting unit tests - -Which broke for some reason?? ---- - test/tm-cases/fenced_code_blocks_leading_lang_space.html | 4 ++-- - test/tm-cases/fenced_code_blocks_safe_highlight.html | 4 ++-- - test/tm-cases/fenced_code_blocks_syntax_highlighting.html | 4 ++-- - test/tm-cases/fenced_code_blocks_syntax_indentation.html | 4 ++-- - test/tm-cases/issue3_bad_code_color_hack.html | 4 ++-- - 5 files changed, 10 insertions(+), 10 deletions(-) - -diff --git a/test/tm-cases/fenced_code_blocks_leading_lang_space.html b/test/tm-cases/fenced_code_blocks_leading_lang_space.html -index 8f7a090..a61524b 100644 ---- a/test/tm-cases/fenced_code_blocks_leading_lang_space.html -+++ b/test/tm-cases/fenced_code_blocks_leading_lang_space.html -@@ -1,3 +1,3 @@ --<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> -diff --git a/test/tm-cases/fenced_code_blocks_safe_highlight.html b/test/tm-cases/fenced_code_blocks_safe_highlight.html -index df5bbec..a08985a 100644 ---- a/test/tm-cases/fenced_code_blocks_safe_highlight.html -+++ b/test/tm-cases/fenced_code_blocks_safe_highlight.html -@@ -1,5 +1,5 @@ --<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> - - <p>That's using the <em>fenced-code-blocks</em> extra with Python -diff --git a/test/tm-cases/fenced_code_blocks_syntax_highlighting.html b/test/tm-cases/fenced_code_blocks_syntax_highlighting.html -index df5bbec..a08985a 100644 ---- a/test/tm-cases/fenced_code_blocks_syntax_highlighting.html -+++ b/test/tm-cases/fenced_code_blocks_syntax_highlighting.html -@@ -1,5 +1,5 @@ --<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> - - <p>That's using the <em>fenced-code-blocks</em> extra with Python -diff --git a/test/tm-cases/fenced_code_blocks_syntax_indentation.html b/test/tm-cases/fenced_code_blocks_syntax_indentation.html -index 11a7c24..37b5723 100644 ---- a/test/tm-cases/fenced_code_blocks_syntax_indentation.html -+++ b/test/tm-cases/fenced_code_blocks_syntax_indentation.html -@@ -1,5 +1,5 @@ - <div class="codehilite"><pre><span></span><code><span class="k">def</span> <span class="nf">foo</span><span class="p">():</span> -- <span class="k">print</span> <span class="s2">"foo"</span> -+ <span class="nb">print</span> <span class="s2">"foo"</span> - -- <span class="k">print</span> <span class="s2">"bar"</span> -+ <span class="nb">print</span> <span class="s2">"bar"</span> - </code></pre></div> -diff --git a/test/tm-cases/issue3_bad_code_color_hack.html b/test/tm-cases/issue3_bad_code_color_hack.html -index 46f329a..8aedb76 100644 ---- a/test/tm-cases/issue3_bad_code_color_hack.html -+++ b/test/tm-cases/issue3_bad_code_color_hack.html -@@ -7,6 +7,6 @@ - <p>Some python code:</p> - - <div class="codehilite"><pre><span></span><code><span class="c1"># комментарий</span> --<span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> --- -2.26.1 - |