unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: sirgazil <sirgazil@zoho.com>
To: "Michal Herko" <michal.herko@disroot.org>
Cc: "guile-user" <guile-user@gnu.org>
Subject: Re: guile-lib <p> handling
Date: Mon, 16 Mar 2020 12:16:16 -0500	[thread overview]
Message-ID: <170e4589715.11d33cd3b47245.646317817618865682@zoho.com> (raw)
In-Reply-To: <1584366045.2123.1@disroot.org>

 ---- On Mon, 16 Mar 2020 08:40:45 -0500 Michal Herko <michal.herko@disroot.org> 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.




      parent reply	other threads:[~2020-03-16 17:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16 13:40 guile-lib <p> handling Michal Herko
2020-03-16 17:15 ` tomas
2020-03-16 17:16 ` sirgazil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=170e4589715.11d33cd3b47245.646317817618865682@zoho.com \
    --to=sirgazil@zoho.com \
    --cc=guile-user@gnu.org \
    --cc=michal.herko@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).