test/_expected/index.html in octopress-escape-code-1.0.2 vs test/_expected/index.html in octopress-escape-code-1.0.3
- old
+ new
@@ -1,22 +1,26 @@
<p>Some text</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">Some kind of example:
-{% some tag that should break %}
+<div class="highlight"><pre><code class="language-text" data-lang="text"> `stuff`
+Some kind of example:
+ {% some tag that should break %}
Stuff!
</code></pre></div>
<p>guys!</p>
-<p>Testing the <code>dobule ` type</code> of code thing.</p>
+<p>Testing the <code>dobule {% _guys_ seriously? %} ` type</code> of code thing.</p>
+<p>The random tab character below shouldn't trigger an escape.</p>
+
<p>So here's a <code>{% nonexistant tag %}</code> that should be escaped.</p>
<div class="highlight"><pre><code class="language-html" data-lang="html">Some kind of example:
{% some tag that should break %}
Stuff!</code></pre></div>
<figure class='code-highlight-figure'><figcaption class='code-highlight-caption'><span class='code-highlight-caption-title'>html</span></figcaption><div class='code-highlight'><pre class='code-highlight-pre'><div data-line='1' class='code-highlight-row numbered'><div class='code-highlight-line'>Some kind of example:
-</div></div><div data-line='2' class='code-highlight-row numbered'><div class='code-highlight-line'>{% some tag that should break %}
-</div></div><div data-line='3' class='code-highlight-row numbered'><div class='code-highlight-line'>Stuff!</div></div></pre></div></figure>
+</div></div><div data-line='2' class='code-highlight-row numbered'><div class='code-highlight-line'> stuff
+</div></div><div data-line='3' class='code-highlight-row numbered'><div class='code-highlight-line'>{% some tag that should break %}
+</div></div><div data-line='4' class='code-highlight-row numbered'><div class='code-highlight-line'>Stuff!</div></div></pre></div></figure>
<div class="highlight"><pre><code class="language-text" data-lang="text">stuff
-asdfadsf
+{% foo %}
</code></pre></div>
<p>some text</p>