Re: [rt.cpan.org #74389] Pod::Simple::Pullparser get_title should ignore X<...>
[email protected] ("David E. Wheeler")
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <[email protected]> |
On Jan 29, 2012, at 6:29 AM, Ricardo Signes wrote: > And "NAME" and not "NAME " > > It should probably not just become an empty string, but it should be collapse > whitespace around it, so pathological cases like: > > =head1 NAME X<foo> THIS X<bar> TUNE > X<baz> > > ...should be "NAME THIS TUNE" > > But in the simpler case, I think that "NAME" and not "NAME " is actually likely > to come up. Okay, so if I follow this thread correctly, the upshot is that: • Pod::Simple::HTML needs to be fixed so that it does not include the contents of X<> • The parser overall should be adjusted to remove superfluous whitespace Correct? David