CSV to HTML translation: Difference between revisions

(added OpenEdge solution)
Line 1,131:
<tr><td>The multitude</td><td>Behold his mother! Behold his mother!</td></tr>
</table></lang>
=={{header|Lua}}==
{{incomplete|Lua|No escaping of '<' in '<angry' and '</angry'}}
<lang lua>FS = "," -- field separator
 
Line 1,143 ⟶ 1,141:
The multitude,Behold his mother! Behold his mother!
]]
 
csv = csv:gsub( "<", "&lt;" )
csv = csv:gsub( ">", "&gr;" )
 
html = { "<table>" }
Anonymous user