emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Étienne Deparis" <etienne@depar.is>
To: emacs-orgmode@gnu.org
Subject: Re: Preserving non breaking spaces in HTML export (maybe other?)
Date: Tue, 27 Jun 2023 11:14:16 +0000	[thread overview]
Message-ID: <87r0px175r.fsf@depar.is> (raw)
In-Reply-To: <87o7l1i3ad.fsf@localhost>


mar. 27 juin 2023 à 12:54, yantar92@posteo.net a écrit :
>
> I cannot reproduce.

Oh, very sorry, actually it effectively leaves the spaces as this 
in the
output file. I was confused by Firefox, who makes the replacement 
🙁
(interpret non-breaking spaces UTF-8 char as breaking, and replace 
them
by regular space when copy/pasting text…).

Thus it means this is not an org mode issue, but more like a 
publication
process issue, and then…

>> - spaces to be replaced by their HTML entity (either &#8239; or
>>   &nbsp;)
>
> You can achieve it using space entities.

I’m not sure to understand your proposal: directly write &nbsp; 
into my
org document?

Actually I think I found the solution directly in the 
documentation¹
🤦. I’ve no idea how I skip it during my first search.

¹ https://orgmode.org/org.html#Filters-1

I’m sorry for the pollution on the list.

Étienne


  reply	other threads:[~2023-06-27 11:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27 10:33 Preserving non breaking spaces in HTML export (maybe other?) Étienne Deparis
2023-06-27 10:54 ` Ihor Radchenko
2023-06-27 11:14   ` Étienne Deparis [this message]
2023-06-27 12:04     ` Ihor Radchenko
2023-06-27 15:59     ` Max Nikulin
2023-06-27 16:00     ` Max Nikulin

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87r0px175r.fsf@depar.is \
    --to=etienne@depar.is \
    --cc=emacs-orgmode@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).