From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +Fu4G4FGXV+VfQAA0tVLHw (envelope-from ) for ; Sat, 12 Sep 2020 22:06:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qIvyFYFGXV9vWgAAbx9fmQ (envelope-from ) for ; Sat, 12 Sep 2020 22:06:57 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D146E94050F for ; Sat, 12 Sep 2020 22:06:56 +0000 (UTC) Received: from localhost ([::1]:43534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHDfb-0004F1-Pf for larch@yhetil.org; Sat, 12 Sep 2020 18:06:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHDfR-0004Ee-Lz for guix-devel@gnu.org; Sat, 12 Sep 2020 18:06:45 -0400 Received: from pelzflorian.de ([5.45.111.108]:52220 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHDfP-0000GQ-6h for guix-devel@gnu.org; Sat, 12 Sep 2020 18:06:45 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 4A18936055C; Sun, 13 Sep 2020 00:06:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1599948399; bh=yMOLVNsbjw89svYbF98VuEKeXKjGx+kbLnM87RgQmwQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=V4Ei0atbDWtMnScyZ6nz+t72PpdVgr/QyMAed3ytYGN29U0beoSIzrER3BhCZzc50 wwCKw/EcgLP6GmD7cLxD9Om9UZtejRrPI/9k6tVZ5SYe+39i9kW+3FxowqOCfv/eks lGApAEYWup6fP9Ev730h61fpijvvhZ3Leh8369os= Date: Sun, 13 Sep 2020 00:06:27 +0200 From: "pelzflorian (Florian Pelz)" To: Ricardo Wurmus Subject: Re: [website]: Fix rendering of entities. Message-ID: <20200912220627.h7kngy6k3xye3bp7@pelzflorian.localdomain> References: <87mu1y63cl.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87mu1y63cl.fsf@elephly.net> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/12 18:06:39 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pelzflorian.de header.s=mail header.b=V4Ei0atb; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: fmYb0rFB0Qz4 On Wed, Sep 09, 2020 at 11:35:06PM +0200, Ricardo Wurmus wrote: > Hi Guix, > > this page looks wrong: https://guix.gnu.org/packages/mpc-1.1.0/ > > The non-breaking space is rendered as “GNU<*ENTITY*>nbspMPC”. The > attached patch processes the SHTML to remove *ENTITY* nodes, replacing > the “nbsp” entity with an actual non-breaking space; other entities are > silently converted to a single space. > […] > + (match entity > + ("nbsp" (string #\xa0)) > + (_ " ")))) Nice find. LGTM as far as I can tell, except it would be nice if the ... / … in were not rendered as a space. Before: The (hashing <*ENTITY*>hellip) modules implement cryptographic hash functions in pure R6RS Scheme: CRC, HMAC, MD5, SHA-1, and SHA-2 (SHA-256, SHA-512). (or in SHTML (div (p "The " (code "(hashing " (*ENTITY* "hellip") ")") " modules implement …" After: The (hashing ) modules implement cryptographic hash functions in pure R6RS Scheme: CRC, HMAC, MD5, SHA-1, and SHA-2 (SHA-256, SHA-512). Regards, Florian