Subject: | table/figure captions should be parsed for pod expressions |
Date: | Sun, 14 Aug 2011 02:04:41 +0400 |
To: | bug-Pod-PseudoPod [...] rt.cpan.org |
From: | Kolia Morev <kolyuchiy [...] gmail.com> |
The title says it all. Here is a test case for that:
initialize($parser, $results);
$parser->parse_string_document(<<'EOPOD');
=begin table Caption with C<some code> in it
=row
=cell Cell 1
=cell Cell 2
=end table
EOPOD
is($results, <<'EOHTML', "pod expressions inside table caption are not parsed");
<p><em>Table: Caption with "some code" in it</em></p>
<table>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
</table>
EOHTML