Re: allowing L<text|href>

[email protected] (Allison Randal)
Newsgroups perl.pod-people
Message-ID <[email protected]>
David E. Wheeler wrote:
> 
> FWIW, Pod::Simple already parses things as you expect. Here's the relevant comment:

Yes, as David says, no problem, Sean actually implemented it years ago 
in Pod::Simple.

>   # L<name>
>   # L<name/"sec"> or L<name/sec>
>   # L</"sec"> or L</sec> or L<"sec">
>   # L<text|name>
>   # L<text|name/"sec"> or L<text|name/sec>
>   # L<text|/"sec"> or L<text|/sec> or L<text|"sec">
>   # L<scheme:...>
>   # L<text|scheme:...>
> 
> So I'll just need to add some more tests I think, to make sure that nothing unexpected happens (like a a misplaced "|" or "/").

The relevant tests are in t/fcodes_l.t, with a few more in t/xhtml01.t.

Allison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.