[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile-lib <p> handling

From: sirgazil
Subject: Re: guile-lib <p> handling
Date: Mon, 16 Mar 2020 12:16:16 -0500
User-agent: Zoho Mail

 ---- On Mon, 16 Mar 2020 08:40:45 -0500 Michal Herko <address@hidden> wrote 
 > Dear maintainor of guile-lib.
 > I believe the special handling of <p> elements in (htmlprag) module to 
 > be a bug.
 > For example:
 > (use-modules (htmlprag))
 > (html->shtml "<html><body><div><p>text</p></div></body></html>")
 > ; expected result (*TOP* (html (body (div (p "text")))))
 > ; actual (*TOP* (html (body (div) (p "text"))))
 > Note that the <p> element is parsed outside the <div> element.
 > I attach the simple patch to remove the special case for <p> elements.

Sounds familiar. I think I actually stopped using htmlprag a few months ago 
because of this, and I think this is an older thread about the problem:

I'm currently using SXML whenever possible.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]