From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8BgqE7XqXV9QIAAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 09:47:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OF5/DbXqXV9bXwAAB5/wlQ (envelope-from ) for ; Sun, 13 Sep 2020 09:47:33 +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 C784A940215 for ; Sun, 13 Sep 2020 09:47:32 +0000 (UTC) Received: from localhost ([::1]:34134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHObb-0004ho-Ot for larch@yhetil.org; Sun, 13 Sep 2020 05:47:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHObT-0004hS-8d for guix-devel@gnu.org; Sun, 13 Sep 2020 05:47:23 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHObR-0000Rs-E2 for guix-devel@gnu.org; Sun, 13 Sep 2020 05:47:22 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1599990436; cv=none; d=zohomail.com; s=zohoarc; b=OVc2T4kCRKYjKNOPIoZKreVvWUJ+R36XYKr7LEcDpzrlO5XoOqR8jBxbpBDmqJmoFQwb305F+SOe8Dm0LypaO/PFIKViaj8/CJpOSPqW2iECm9JrgVmt3DGfzYgxbfnCLs0pxsi4mSdHNReyseyJCgQ08sS4kA0Lqd4hNl49tUM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599990436; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=xD+llv0DOWcr0MxSHbAZtaojKphYC/ZCN9pC5OaPNvo=; b=DUr3lT+IztsfX1sWoD6gSgU6uzPLUDRg5CSM5MHFUUPKVZGOGTInYZk3WUSb8FR9TFACcEjgGWZO+BXfvvrsdRI57n6hzSxRZxvtmoMkYXN93cbshwtZjW4nLfF/PnBKJg0Kma3xBoMGAJhiPgmpR7ZnLjLQ/Kn78qotdNAE4w0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1599990436; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=xD+llv0DOWcr0MxSHbAZtaojKphYC/ZCN9pC5OaPNvo=; b=bAahSk+zjJVQh8WkjHA8DGIEt3CI2Fv6YDW0qN/FtwvX5/17zXo/8cG3/f1QhH5d vm46800AE7X6Z9y2n/qEEV3nnTL1PHFZVxa/+iWjKZHfznrNxof0Pez7aHFTyNXQHBH oW3gfJOH/NgxX9onjb3DfV9tHuaMrktgeTyHNthI= Received: from localhost (p4fd5aca2.dip0.t-ipconnect.de [79.213.172.162]) by mx.zohomail.com with SMTPS id 1599990435124646.2823679154437; Sun, 13 Sep 2020 02:47:15 -0700 (PDT) References: <87mu1y63cl.fsf@elephly.net> <20200912220627.h7kngy6k3xye3bp7@pelzflorian.localdomain> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: "pelzflorian (Florian Pelz)" Subject: Re: [website]: Fix rendering of entities. In-reply-to: <20200912220627.h7kngy6k3xye3bp7@pelzflorian.localdomain> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 13 Sep 2020 11:48:31 +0200 Message-ID: <87v9giyplc.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 05:47:18 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: 13 X-Spam_score: 1.3 X-Spam_bar: + X-Spam_report: (1.3 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_CSS_A=0.1 autolearn=no 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=pass header.d=elephly.net header.s=zoho header.b=bAahSk+z; 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.29 X-TUID: d5mIC7oaHOH9 pelzflorian (Florian Pelz) writes: > On Wed, Sep 09, 2020 at 11:35:06PM +0200, Ricardo Wurmus wrote: >> Hi Guix, >>=20 >> this page looks wrong: https://guix.gnu.org/packages/mpc-1.1.0/ >>=20 >> The non-breaking space is rendered as =E2=80=9CGNU<*ENTITY*>nbspMPC=E2= =80=9D. The >> attached patch processes the SHTML to remove *ENTITY* nodes, replacing >> the =E2=80=9Cnbsp=E2=80=9D entity with an actual non-breaking space; oth= er entities are >> silently converted to a single space. >> [=E2=80=A6] >> + (match entity >> + ("nbsp" (string #\xa0)) >> + (_ " ")))) > > Nice find. LGTM as far as I can tell, except it would be nice if the ...= / =E2=80=A6 in > were not rendered = as > a space. I will add another case for =E2=80=9Chellip=E2=80=9D. I could also convert all descriptions and extract all *ENTITY* tags to see what entities there are to be be dealt with. --=20 Ricardo