they do work, with the right syntax (C backslash escapes aren't interpreted)
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>
Wed, 31 Mar 2010 02:07:52 +0000 (02:07 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Wed, 31 Mar 2010 02:07:52 +0000 (02:07 +0000)
doc/bugs/Tab_delimited_tables_don__39__t_work.mdwn

index b407255aad88ef60e1b6a0b5028c30858faf5ebd..278826ea0e103cefe13ca68061166b3eaa041e74 100644 (file)
@@ -4,3 +4,17 @@ Table directive should support tab-delimited data, especially important since th
 1      2
 2      4
 """]]
+
+> They do work, but C-style backslash escapes aren't recognised,
+> so the syntax `delimiter="\t"` (as in your test case) looks
+> for the literal string `\t`. Replacing `\t` with a literal
+> tab character makes it work - here's a test (I changed the data
+> to make the table layout more obvious):
+>
+> [[!table format=dsv delimiter="      " data="""
+left   2
+2      right
+alpha  beta
+"""]]
+>
+> So, I think this can be considered [[not_a_bug|done]]? --[[smcv]]