guile-user
[Top][All Lists]
Advanced

[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: 

https://lists.gnu.org/archive/html/guile-user/2019-09/msg00009.html

I'm currently using SXML whenever possible.




reply via email to

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