From: http://smcv.pseudorandom.co.uk/ Date: Wed, 31 Mar 2010 02:07:52 +0000 (+0000) Subject: they do work, with the right syntax (C backslash escapes aren't interpreted) X-Git-Tag: 3.20100403~40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f63763a30e774e9a10bd1416f157dd2b3e2e69b;p=ikiwiki.git they do work, with the right syntax (C backslash escapes aren't interpreted) --- diff --git a/doc/bugs/Tab_delimited_tables_don__39__t_work.mdwn b/doc/bugs/Tab_delimited_tables_don__39__t_work.mdwn index b407255aa..278826ea0 100644 --- a/doc/bugs/Tab_delimited_tables_don__39__t_work.mdwn +++ b/doc/bugs/Tab_delimited_tables_don__39__t_work.mdwn @@ -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]]