aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-08-10 12:50:23 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-08-10 12:50:23 -0700
commit3a924d8f96a336f6adcee5dd4c924c14a92a5bf7 (patch)
tree302c6033e8bf6f392a4dc0838642e3e92066b1ea /test/command
parent7ca4233793f3ba42b2c79c3526a4ab2664fea2e2 (diff)
downloadpandoc-3a924d8f96a336f6adcee5dd4c924c14a92a5bf7.tar.gz
HTML reader: treat commments as blank when parsing.
This modifies pBlank. Previously comments could sometimes flummox the parser. Cloes #7482.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7482.md47
1 files changed, 47 insertions, 0 deletions
diff --git a/test/command/7482.md b/test/command/7482.md
new file mode 100644
index 000000000..b4f750e2f
--- /dev/null
+++ b/test/command/7482.md
@@ -0,0 +1,47 @@
+```
+% pandoc -f html -t org
+<table border=0 cellpadding=0 cellspacing=0 width=206 style='border-collapse:
+ collapse;width:154pt'>
+<!--StartFragment-->
+ <col width=99 style='mso-width-source:userset;mso-width-alt:3157;width:74pt'>
+ <col width=107 style='mso-width-source:userset;mso-width-alt:3413;width:80pt'>
+ <tr height=23 style='height:17.0pt'>
+ <td height=23 align=left width=99 style='height:17.0pt;width:74pt'>Last N
+ credits</td>
+ <td align=left width=107 style='width:80pt'>Average grade</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 align=right style='height:16.0pt'>140</td>
+ <td align=right>17.06571429</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 class=xl63 align=right style='height:16.0pt'>84</td>
+ <td class=xl63 align=right>17.95595238</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 class=xl63 align=right style='height:16.0pt'>64</td>
+ <td class=xl63 align=right>18.9734375</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 align=right style='height:16.0pt'>36</td>
+ <td align=right>19.12777778</td>
+ </tr>
+ <tr height=27 style='mso-height-source:userset;height:20.0pt'>
+ <td height=27 align=right style='height:20.0pt'>29</td>
+ <td align=right>19.18275862</td>
+ </tr>
+ <tr height=21 style='height:16.0pt'>
+ <td height=21 align=right style='height:16.0pt'>19</td>
+ <td align=right>19.00526316</td>
+ </tr>
+<!--EndFragment-->
+</table>
+^D
+| Last N credits | Average grade |
+| 140 | 17.06571429 |
+| 84 | 17.95595238 |
+| 64 | 18.9734375 |
+| 36 | 19.12777778 |
+| 29 | 19.18275862 |
+| 19 | 19.00526316 |
+```