parent
0f80284c3d
commit
fc3b9e763f
3 changed files with 57 additions and 1 deletions
|
@ -3,3 +3,7 @@ tests: True
|
||||||
flags: +embed_data_files
|
flags: +embed_data_files
|
||||||
constraints: aeson >= 2.0.1.0
|
constraints: aeson >= 2.0.1.0
|
||||||
|
|
||||||
|
source-repository-package
|
||||||
|
type: git
|
||||||
|
location: https://github.com/tarleb/gridtables
|
||||||
|
tag: 76198add9b404124b3a2fdf137399256a91d337b
|
||||||
|
|
|
@ -13,7 +13,6 @@ extra-deps:
|
||||||
- skylighting-format-latex-0.1
|
- skylighting-format-latex-0.1
|
||||||
- skylighting-format-blaze-html-0.1
|
- skylighting-format-blaze-html-0.1
|
||||||
- emojis-0.1.2
|
- emojis-0.1.2
|
||||||
- gridtables-0.0.2.0
|
|
||||||
- lpeg-1.0.3
|
- lpeg-1.0.3
|
||||||
- hslua-2.2.1
|
- hslua-2.2.1
|
||||||
- hslua-aeson-2.2.1
|
- hslua-aeson-2.2.1
|
||||||
|
@ -44,6 +43,8 @@ extra-deps:
|
||||||
- doctemplates-0.10.0.2
|
- doctemplates-0.10.0.2
|
||||||
- citeproc-0.8.0.1
|
- citeproc-0.8.0.1
|
||||||
- texmath-0.12.5.2
|
- texmath-0.12.5.2
|
||||||
|
- git: https://github.com/tarleb/gridtables
|
||||||
|
commit: 76198add9b404124b3a2fdf137399256a91d337b
|
||||||
|
|
||||||
ghc-options:
|
ghc-options:
|
||||||
"$locals": -fhide-source-paths -Wno-missing-home-modules
|
"$locals": -fhide-source-paths -Wno-missing-home-modules
|
||||||
|
|
51
test/command/8216.md
Normal file
51
test/command/8216.md
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
Misaligned separators in grid table
|
||||||
|
```
|
||||||
|
% pandoc -f markdown -t html
|
||||||
|
: Grid Table
|
||||||
|
|
||||||
|
+-----------------+:-:+
|
||||||
|
|Some text |[text]{.class1 .class2 .class3}|
|
||||||
|
+-----------------+---+
|
||||||
|
|Some text |[text]{.class1 .class2 .class3}|
|
||||||
|
+-----------------+---+
|
||||||
|
|Some text |[text]{.class1 .class2 .class3}|
|
||||||
|
+-----------------+---+
|
||||||
|
^D
|
||||||
|
<table style="width:69%;">
|
||||||
|
<caption>Grid Table</caption>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 25%" />
|
||||||
|
<col style="width: 44%" />
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
<tr class="odd">
|
||||||
|
<td>Some text</td>
|
||||||
|
<td><span class="class1 class2 class3">text</span></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td>Some text</td>
|
||||||
|
<td><span class="class1 class2 class3">text</span></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="odd">
|
||||||
|
<td>Some text</td>
|
||||||
|
<td><span class="class1 class2 class3">text</span></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
```
|
||||||
|
|
||||||
|
Missing cell
|
||||||
|
|
||||||
|
```
|
||||||
|
% pandoc -f markdown -t gfm
|
||||||
|
+------+
|
||||||
|
| text |
|
||||||
|
+------+---+
|
||||||
|
| text | 1 |
|
||||||
|
+------+---+
|
||||||
|
^D
|
||||||
|
| | |
|
||||||
|
|------|-----|
|
||||||
|
| text | |
|
||||||
|
| text | 1 |
|
||||||
|
```
|
Loading…
Reference in a new issue