On Mon Apr 11 02:01:00 2005, MSCHWERN wrote:
Show quoted text> Nested C<<'s are not rendered properly. For example.
>
> =pod
>
> C<<< C<<foo>> >>>
>
> =cut
>
> should be rendered as a literal "C<<foo>>" in code format, if I'm
> reading perlpodspec properly. Pod::Simple misinterprets it as... well
> something. The end result is ""<foo">".
Yep, I just read the spec pretty closely and you're right. I fixed the parser for this, and now
it's all correct. Alas, Sean had some pretty pathological examples of links that depended on
the old functionality; it's clearly wrong, but I'm wondering how likely it is that anyone actually
depended on something like this to work:
=pod
L<<< Perl B<Error E<77>essages>|perldiag >>>
He had the E<77> rendering as a literal "M", whereas not it renders (in html) as
"E#60;77>" So while the new behavior is correct, someone somewhere might complain
about a loss of functionality.
—David