From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: sirgazil Newsgroups: gmane.lisp.guile.user Subject: Re: guile-lib

handling Date: Mon, 16 Mar 2020 12:16:16 -0500 Message-ID: <170e4589715.11d33cd3b47245.646317817618865682@zoho.com> References: <1584366045.2123.1@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24671"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Zoho Mail Cc: "guile-user" To: "Michal Herko" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Mar 16 18:39:04 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jDthf-0006Ir-Cz for guile-user@m.gmane-mx.org; Mon, 16 Mar 2020 18:39:03 +0100 Original-Received: from localhost ([::1]:44516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDthe-00053t-Dq for guile-user@m.gmane-mx.org; Mon, 16 Mar 2020 13:39:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37639) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDtLn-0007tE-TP for guile-user@gnu.org; Mon, 16 Mar 2020 13:16:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDtLm-0007yY-Nm for guile-user@gnu.org; Mon, 16 Mar 2020 13:16:27 -0400 Original-Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDtLm-0007ip-DF for guile-user@gnu.org; Mon, 16 Mar 2020 13:16:26 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1584378981; cv=none; d=zohomail.com; s=zohoarc; b=XwOe8dZmje4+Vc29iTObzNwozBBDXMprf9OEqRbbyZGVx4VQK8DkDVmYUykXXpCEK+A6vCfQLmJffy49kNI0eG9By0apXuXyGBzRn5KmFPW4bHn7+BSfeZF25rRmCltspy0pSeC7bNUR97JmOGhco4KO0unvFmAg+btJULFPhgE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1584378981; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=WBJTX2YHAB6x1rmJqerx1vUWBOduLts0RConNr+5sM8=; b=G6b3ABciPYfZ78SZyxrTLTFb0osfq2axeWLuHO85vnhtAhi+7n0IxbPNOOKYTNcyXv8zeE9dFayq9pLctrDLYIlUbokmrmOdVibgYFXbkD22kSsfbMtHE0hBq5yxM1vtmPh5sG5+k1NLFtQQLCt8k//S0+n+EXBF6ejxW6xeqmQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=CLiK1qKmXERnalI1V4gIdfpbk3JeJ4PNDw5Xbp+YPu1hQp/AhH+iWAr961OPN9vIgHOlwQPhHDDt hrcEtA83v9OPmR+YtnFm5+fPgdwthOY0GvaESsygmBu1G7x3moI5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1584378981; s=zm2020; d=zoho.com; i=sirgazil@zoho.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=WBJTX2YHAB6x1rmJqerx1vUWBOduLts0RConNr+5sM8=; b=W2YASJb+QnuIjoIC3y2/R9iIrFzmpRqDRCi3f9H2dN0RiO0xygvynDYYICCAB5Gm nu0YbZF1YOQ7y3SkPqtccqQBZ4pKp4D+B8/GAJcnaOdAwxi1JFQZfBj0vPC5vMez4pG dku4ZfOXz57q4Jhep/U0A84iReSfC4HJcIhbO/R0= Original-Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1584378976023972.2304366001853; Mon, 16 Mar 2020 10:16:16 -0700 (PDT) Original-Received: from [179.15.13.185] by mail.zoho.com with HTTP;Mon, 16 Mar 2020 10:16:16 -0700 (PDT) In-Reply-To: <1584366045.2123.1@disroot.org> Importance: Medium X-Mailer: Zoho Mail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 136.143.188.91 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16311 Archived-At: ---- On Mon, 16 Mar 2020 08:40:45 -0500 Michal Herko wrote ---- > Dear maintainor of guile-lib. > I believe the special handling of

elements in (htmlprag) module to > be a bug. > For example: > > (use-modules (htmlprag)) > (html->shtml "

text

") > ; expected result (*TOP* (html (body (div (p "text"))))) > ; actual (*TOP* (html (body (div) (p "text")))) > > Note that the

element is parsed outside the

element. > I attach the simple patch to remove the special case for

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.