Skip to content

Commit

Permalink
Move one more forgotten regression test to regressions.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
mity committed Jan 16, 2024
1 parent 20cb744 commit 4b9e4d7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 42 deletions.
39 changes: 39 additions & 0 deletions test/regressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,45 @@ __x_ _x___
````````````````````````````````


## [Issue 41](https://github.com/mity/md4c/issues/41)
```````````````````````````````` example
* x|x
---|---
.
<ul>
<li>x|x
---|---</li>
</ul>
.
--ftables
````````````````````````````````
(Not a table, because the underline has wrong indentation and is not part of the
list item.)

```````````````````````````````` example
* x|x
---|---
x|x
.
<ul>
<li><table>
<thead>
<tr>
<th>x</th>
<th>x</th>
</tr>
</thead>
</table>
</li>
</ul>
<p>x|x</p>
.
--ftables
````````````````````````````````
(Here the underline has the right indentation so the table is detected.
But the last line is not part of it due its indentation.)


## [Issue 42](https://github.com/mity/md4c/issues/42)

```````````````````````````````` example
Expand Down
42 changes: 0 additions & 42 deletions test/tables.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,45 +272,3 @@ quux | quuz
.
--ftables
````````````````````````````````


## GitHub Issues

## [Issue 41](https://github.com/mity/md4c/issues/41)
```````````````````````````````` example
* x|x
---|---
.
<ul>
<li>x|x
---|---</li>
</ul>
.
--ftables
````````````````````````````````
(Not a table, because the underline has wrong indentation and is not part of the
list item.)

```````````````````````````````` example
* x|x
---|---
x|x
.
<ul>
<li><table>
<thead>
<tr>
<th>x</th>
<th>x</th>
</tr>
</thead>
</table>
</li>
</ul>
<p>x|x</p>
.
--ftables
````````````````````````````````
(Here the underline has the right indentation so the table is detected.
But the last line is not part of it due its indentation.)

0 comments on commit 4b9e4d7

Please sign in to comment.