Re: XHTML formatter 'xhtml' regions
[email protected] ("David E. Wheeler")
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <[email protected]> |
On Dec 11, 2009, at 11:20 AM, Allison Randal wrote: >>> Anybody know? I would like to get this sorted out so I can rely on it. :) > > According to perlpodspec, '=for html' is supposed to be a pass-through, and '=for :html' is supposed to do normal processing on the contents of the block. So, the current behaviour of Pod::Simple::XHTML can be considered a bug. Yeah, RJBS found where I introduced it [here](http://github.com/theory/pod-simple/commit/1ac6b65b7d323f20bf618af34b99d1b2cf550a84). So we just need a flag to tell handle_text() not to escape its contents when its a `=for html` block. A regression. Bleh. Sorry about that. Best, David