Skip to content

Commit 12cbf35

Browse files
authored
Merge pull request #465 from linawolf/code-block-whitespace
Move code-block whitespace test to integration tests
2 parents 9a9b30f + 598df28 commit 12cbf35

File tree

5 files changed

+24
-5
lines changed

5 files changed

+24
-5
lines changed

tests/Functional/tests/code-with-whitespace/code-with-whitespace.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/Functional/tests/code-with-whitespace/code-with-whitespace.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Code Block</title>
5+
6+
</head>
7+
<body>
8+
<div class="section" id="code-block">
9+
<h1>Code Block</h1>
10+
11+
<pre><code class="language-">Test code block with whitespace.
12+
Some more code</code></pre>
13+
</div>
14+
15+
</body>
16+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Code Block
2+
==========
3+
4+
::
5+
6+
Test code block with whitespace.
7+
Some more code
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Whitespace does not get properly removed in codeblocks

0 commit comments

Comments
 (0)