emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regression in table.el detection? [maint]


From: Kaushal Modi
Subject: Re: Regression in table.el detection? [maint]
Date: Tue, 5 Jan 2021 02:19:18 -0500

Hi Kyle,

I was able to reproduce with issue with ox-html as well.

Please copy paste this in a new temp.org file and run `C-c C-e h H':

* Subtree 1
+----------+----------+----------+
| Header 1 | Header 2 | Header 3 |
+----------+----------+----------+
| a        | b        | c        |
+----------+----------+----------+
| d        | e        | f        |
+----------+----------+----------+
* Subtree 2


The issue is when the "* Subtree 2" begins in the very next line after that last line of table.el table ending in "--+".

When I export that, I see that ox-html fails to detect that table.el table because I see this in the exported buffer:

=====
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides" align="center" class="table-striped">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">Header 1</td>
<td class="org-left">Header 2</td>
<td class="org-left">Header 3</td>
</tr>
</tbody>
</table>
<p>
<del>----------</del>----------<del>----------</del>
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides" align="center" class="table-striped">
=====

But if I introduce a newline before "* Subtree 2", the table.el table detection works fine.



--
Kaushal Modi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]