From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id xutWBQe9mmTvJwEASxT56A (envelope-from ) for ; Tue, 27 Jun 2023 12:42:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8KeHAwe9mmRkfgEAG6o9tA (envelope-from ) for ; Tue, 27 Jun 2023 12:42:15 +0200 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 9D4611E02F for ; Tue, 27 Jun 2023 12:42:14 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687862534; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=75Z6VnZ7/A+/POmni7oRWELZ8WP525jvru19eHtmme4=; b=cNz5VrXv6fAuo1QRBAuW+XCDSn3ho7hdb61p9MUZ/93cz2RcSmHPdP9VSyz0kgUqWnoaS0 +PcG/StnsTaypKgkFt2vyoqt3gEjVCWkLZ8RYVLe3ifw3MKuIpwixmhm53D8g+DzsrOeO2 KpuwXADZMEMcAN/nt4LxQOmHtrl4isNNoYVOirUFO5YgSYRDIQnCC/eNKjrAjD3NrxxTLt I8Ft8V88Vq7MNHRK3YOynvzYKyJL8u32i4+TIdIk5GQ08UKU+86ErZTSPdwNsA2WgrbagI fUW3cuJRdMAEeFAC/tvb9g9CSpXzxhrv3fqR5a6+gs+T7PTstwjeHrCkZ6x5eA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687862534; a=rsa-sha256; cv=none; b=Tf5MpR2QjXVjDcs6YxF4xV9dPXyhLS4SlPeG4IadvTFOHUAeXl68tt0XMm6+3dd7XmF6s9 9rmGoKuBrOJ75Smd+9WtIgXf/zQwk6bmH4d5qMgZWhum7RtwhVhyXWewYTnGjNX46knkrQ ItDtwP4w626YbL/RFZFWOA6AUpBzoxqCuYwksdEIy54CT73e+4++EHnd14K8C/AlEerS79 k/rHTcGb3WPes9mpiSS+u5nSqFrtp7c5DXXU3iGZcJrk6ZXrm4vzKSvplcDd66xbCvvv3B bUzIVdNtM+48h9OxP+BWF5pFUYhImdgdAxspHEyKey9n01jGdaxhzHo+GoKErg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qE68R-0005Ej-Lj; Tue, 27 Jun 2023 06:41:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qE68O-0005ES-5b for emacs-orgmode@gnu.org; Tue, 27 Jun 2023 06:41:20 -0400 Received: from mout01.posteo.de ([185.67.36.141]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qE68L-0005Ac-Oy for emacs-orgmode@gnu.org; Tue, 27 Jun 2023 06:41:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8E160240027 for ; Tue, 27 Jun 2023 12:41:12 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qr1Th17sfz9rxB for ; Tue, 27 Jun 2023 12:41:12 +0200 (CEST) From: =?utf-8?Q?=C3=89tienne?= Deparis To: emacs-orgmode@gnu.org Subject: Preserving non breaking spaces in HTML export (maybe other?) Date: Tue, 27 Jun 2023 10:33:03 +0000 Message-ID: <87cz1hgpbt.fsf@depar.is> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.141; envelope-from=etienne@depar.is; helo=mout01.posteo.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: etienne@depar.is Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.25 X-Spam-Score: -3.25 X-Migadu-Queue-Id: 9D4611E02F X-TUID: ewCNTSJ8IWDo Hi, If I=E2=80=99m not wrong, I think I just came across a little issue while=20 using HTML export in org mode. As a french writer, we use a lot of non-breaking spaces=C2=B9 in=20 various situation. For exemple before double column or question mark: Ceci est un exemple=E2=80=AF: N=E2=80=99est-il pas interessant=E2=80=AF? =C2=B9 https://en.wikipedia.org/wiki/Non-breaking_space Above I use a "narrow no-breaking space", but historically other=20 might have used plain non-breaking space (=C2=A0). However, after export all those spaces have disapeared. I cannot=20 find where in the code this replacement is made, thus if one know=20 better how the exporter run here, it would be great to share. It would let me=20 try to work around this. By order of preference, I=E2=80=99d have expected: - spaces to be replaced by their HTML entity (either   or=20  ) - spaces left as this (no replacement). I=E2=80=99m also curious about the rational behind the replacement. Is=20 this to protect something? Thank you very much for your help, =C3=89tienne