Re: XHTML formatter 'xhtml' regions
[email protected] (Allison Randal)
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <[email protected]> |
David E. Wheeler wrote: > On Dec 11, 2009, at 10:58 AM, Ricardo Signes wrote: > >>> http://github.com/rjbs/pod-simple/tree/xhtml-region >> David and I spoke about this on AIM a little... >> >> Right now, given this input in Pod::Simple::HTML: >> >> =begin html >> >> <div>...</div> >> >> =end html >> >> The HTML is passed through untouched. If you do the same thing in >> Pod::Simple::XHTML, the HTML is entity escaped before being passed along. >> >> I had assumed this was intentional, and my changes add an 'xhtml' region which >> is untouched. David suggested that this is an error. >> >> 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. Allison