Re: XHTML formatter 'xhtml' regions

[email protected] (Ricardo Signes)
Newsgroups perl.pod-people
Message-ID <[email protected]>
* "David E. Wheeler" <[email protected]> [2009-12-11T14:02:33]
> I asked Graham earlier this week if he'd consider switching to
> Pod::Simple::XHTML, and his comment was that, if we did that, and someone had
> invalid html in a `=for html` section, it would make the whole document
> invalid. Of course, we were both working on the assumption that `=for html`
> stuff would be passed through unmolested.
> 
> I'm not sure it should be. I mean, it'd be easiest to do so, but another
> choice might be to parse it and fix validation issues.

I think it's way out of scope to validate here.  I think it's totally
reasonable to make sure there's a hook for doing so.

> But at any rate, the current implementation of escaping the content seems
> wrong to me. If I wanted that, I'd use a verbatim block.

David and I spoke on AIM.  This is 99.99% a regression introduced in October!
I will fix it.

-- 
rjbs
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.