aL3xa/rapport — Issue #26: ascii/pandoc bug: table with missing element in header after list
Author: daroczig
Created: 2012-01-11 21:18:33+00:00
State: open
Labels: bug

If a table or data frame with row names is outputted after a list, it possibly breaks up pandoc exported formats.

**Comment:**

It's based on that the header's first element is missing and somehow it breaks up pandoc. Adding some extra space there solves the problem somehow :S

**Possible workarounds till fix:**

* add a block like the following between the list and the table (will not output anything, no worries):

```
<%
''
%>
```

* Or just add some sentences between the two :)

**Minimal example:**

```

- x
- y

<%
table(mtcars$am)
%>

- x
- y

<%
as.data.frame(table(mtcars$am))
%>
```