CSV to HTML translation: Difference between revisions

Content added Content deleted
(→‎{{header|C}}: decruft)
Line 2,394:
 
=={{header|TXR}}==
{{works with|TXR|git head}}
{{incorrect|TXR|Needs HTML escaping, see comment at [[{{TALKPAGENAME}}#TXR comment]].}}
 
<lang txr>@(collect)
@char,@speech
@(end)
@(output :filter :to_html)
<table>
@ (repeat)
Line 2,415:
Output:
 
<pre>$ txr csv.txr csv.txt</pre>
 
<table>
<lang html5><table>
<tr>
<td>Character</td>
Line 2,427 ⟶ 2,428:
<tr>
<td>Brians mother</td>
<td><&lt;angry>&gt;Now you listen here! He's not the messiah; he's a very naughty boy! Now go away!<&lt;/angry>&gt; </td>
</tr>
<tr>