Problem with xhtml 22.214.171.124: html tags are split
gwern0 at gmail.com
Sat Feb 5 15:57:58 CET 2011
On Thu, May 13, 2010 at 11:38 AM, Gwern Branwen <gwern0 at gmail.com> wrote:
> On Tue, May 11, 2010 at 3:00 AM, Bjorn Bringert <bjorn at bringert.net> wrote:
>> I support finding a new maintainer.
> Alright; as the old maintainer, I guess it falls on you to advertise
> on -cafe and libraries.
Has a request gone out yet? I didn't notice anything (maybe it got
lost in all the recent haskell.org downtime), and the current Hackage
page of xhtml is still listing Bjorn.
Anyway, John MacFarlane has found a workaround which he's implemented
in HEAD Pandoc (http://code.google.com/p/pandoc/issues/detail?id=134);
> Many people have wanted pandoc to produce "more normal" HTML output,
> without nesting, but with line breaks between block elements (where
> they aren't semantically significant). Something like this:
> <li>a <a href="/foo">link</a></li>
> <li>another list item</li>
> I've found that I can get this kind of output, even using Text.XHtml's
> renderer, by modifying the writer to insert raw newlines after block
> elements, and using 'showHtmlFragment' rather than 'prettyHtmlFragment'.
This may be useful for other people to know. (There are quite a few
users of xhtml:
More information about the Libraries