Stephen Bannasch
2007-Mar-21 19:06 UTC
using ''_.'' to indicate table headers doesn''t work in SRC v1.160
I''m using" superredcloth (1.160) Using ''_.'' to indicate table headers doesn''t work: $ irb irb(main):001:0> require ''superredcloth'' => true irb(main):005:0> SuperRedCloth.new("|_. name |_. age |_. sex |\n| joan | 24 | f |\n| archie | 29 | m |\n| bella | 45 | f |\n").to_html => "<table>\n\t\t<tr>\n\t\t\t<td>_. name </td>\n\t\t\t<td>_. age </td>\n\t\t\t<td>_. sex </td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> joan </td>\n\t\t\t<td> 24 </td>\n\t\t\t<td> f </td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> archie </td>\n\t\t\t<td> 29 </td>\n\t\t\t<td> m </td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> bella </td>\n\t\t\t<td> 45 </td>\n\t\t\t<td> f </td>\n\t\t</tr>\n\t</table>" irb(main):006:0> SuperRedCloth.new("|name |age |sex |\n| joan | 24 | f |\n| archie | 29 | m |\n| bella | 45 | f |\n").to_html => "<table>\n\t\t<tr>\n\t\t\t<td>name </td>\n\t\t\t<td>age </td>\n\t\t\t<td>sex </td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> joan </td>\n\t\t\t<td> 24 </td>\n\t\t\t<td> f </td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> archie </td>\n\t\t\t<td> 29 </td>\n\t\t\t<td> m </td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td> bella </td>\n\t\t\t<td> 45 </td>\n\t\t\t<td> f </td>\n\t\t</tr>\n\t</table>" -- - Stephen Bannasch Concord Consortium, http://www.concord.org