Skip to content

Commit 4ec558c

Browse files
authored
test: confirm that unknown lexers emit code blocks (#256)
1 parent f62ff90 commit 4ec558c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/fixtures/test_rst_008.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
<span class="nb">echo</span> <span class="s2">&quot;OK&quot;</span>
1313
<span class="k">fi</span></code></pre>
1414
<p>or click <a href="http://www.surveymonkey.com" rel="nofollow">SurveyMonkey</a></p>
15+
<pre><code>An unknown code fence block</code></pre>

tests/fixtures/test_rst_008.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ and then here is some bash:
2020
fi
2121
2222
or click `SurveyMonkey <http://www.surveymonkey.com>`_
23+
24+
25+
.. code-block:: abc
26+
27+
An unknown code fence block

0 commit comments

Comments
 (0)