Skip to content

Commit

Permalink
Reverse the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Apr 18, 2020
1 parent faa2496 commit 568bbcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_utils_markdown.py
Expand Up @@ -70,7 +70,7 @@ def foo():
</ol>
<p>A naked link: <a href="https://www.example.com/" rel="nofollow">https://www.example.com/</a></p>
<p>An <a href="https://www.example.com/" rel="nofollow">inline link</a></p>
<div class="codehilite"><pre><span></span><code><span class="hll"><span class="k">def</span> <span class="nf">foo</span><span class="p">():</span>
<div class="highlight"><pre><span></span><code><span class="hll"><span class="k">def</span> <span class="nf">foo</span><span class="p">():</span>
</span> <span class="k">return</span> <span class="s1">'https://www.example.com/'</span>
</code></pre></div>
Expand Down Expand Up @@ -189,11 +189,13 @@ def foo():
sample_output.replace('<pre><code>', '<pre>')
.replace('</code></pre>', '</pre>')
.replace('<pre><span></span><code>', '<pre><span></span>')
.replace('<div class="highlight">', '<div class="codehilite">')
)
sample_output_html = (
sample_output_html.replace('<pre><code>', '<pre>')
.replace('</code></pre>', '</pre>')
.replace('<pre><span></span><code>', '<pre><span></span>')
.replace('<div class="highlight">', '<div class="codehilite">')
)


Expand Down

0 comments on commit 568bbcf

Please sign in to comment.