Hello, Victor Valdivia <victor.valdi...@incentings.com> writes:
> When I execute this snippet: > #+BEGIN_SRC js > return [[1, 2, 3, 4],[1, 2, 3, 4],[1, 2, 3, 4], [1, 2, 3, 4],[1, 2, 3, 4]]; > #+END_SRC > > I get this result instead of a table. > #+RESULTS: > : [[1 (\, 2) (\, 3) (\, 4)] (\, [1 (\, 2) (\, 3) (\, 4)]) (\, [1 (\, 2) (\, > 3) (\, 4)]) (\, [1 (\, 2) (\, 3) (\, 4)]) (\, [1 (\, 2) (\, 3) (\, 4)])] > > But when I generate a shorter table like this > #+BEGIN_SRC js > return [[1, 2, 3, 4],[1, 2, 3, 4],[1, 2, 3, 4], [1, 2, 3, 4]]; > #+END_SRC > > I get the expected result. > #+RESULTS: > | 1 | 2 | 3 | 4 | > | 1 | 2 | 3 | 4 | > | 1 | 2 | 3 | 4 | > | 1 | 2 | 3 | 4 | > > > I think that this happens when node.js generates a output with line > breaks, then the function org-babel-js-read cannot parse the output, but I > am not sure. I think this was fixed in development branch recently. Regards, -- Nicolas Goaziou