R
Rodrigo Bermejo
Hello List /.
I am trying to build a html table from a string using RedCloth.
My table should show some empty values
<code>
require 'redcloth'
table = RedCloth.new("|a|b|c|d|\n|A||c|d|").to_html
puts table
</code>
produces:
<table>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
<td>d</td>
</tr>
<tr>
<td>A</td>
<td>c</td>
<td>d</td>
</tr>
</table>
Do you know how can I represent an empty value in a table ?
Thank you /.
I am trying to build a html table from a string using RedCloth.
My table should show some empty values
<code>
require 'redcloth'
table = RedCloth.new("|a|b|c|d|\n|A||c|d|").to_html
puts table
</code>
produces:
<table>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
<td>d</td>
</tr>
<tr>
<td>A</td>
<td>c</td>
<td>d</td>
</tr>
</table>
Do you know how can I represent an empty value in a table ?
Thank you /.