Displaying 1 result from an estimated 1 matches for "tdtype".
Did you mean:
dtype
2007 Mar 24
3
Patch for superredcloth to enable textile table headers
...==========================
--- lib/superredcloth.rb (revision 163)
+++ lib/superredcloth.rb (working copy)
@@ -46,7 +46,8 @@
"<p>" + txt + "</p>"
end
def td opts
- "\t\t\t<td#{pba(opts)}>#{opts[:text]}</td>\n"
+ tdtype = opts[:th] ? ''th'' : ''td''
+ "\t\t\t<#{tdtype}#{pba(opts)}>#{opts[:text]}</#{tdtype}>\n"
end
def tr_open opts
"\t\t<tr#{pba(opts)}>\n"
[~/dev/rails/why/superredcloth]$ svn up
At revision 163.
[~/dev/rails/why/...