all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Preserving non breaking spaces in HTML export (maybe other?)
@ 2023-06-27 10:33 Étienne Deparis
  2023-06-27 10:54 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Étienne Deparis @ 2023-06-27 10:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

If I’m not wrong, I think I just came across a little issue while 
using
HTML export in org mode.

As a french writer, we use a lot of non-breaking spaces¹ in 
various
situation. For exemple before double column or question mark:

    Ceci est un exemple :

    N’est-il pas interessant ?

¹ https://en.wikipedia.org/wiki/Non-breaking_space

Above I use a "narrow no-breaking space", but historically other 
might
have used plain non-breaking space ( ).

However, after export all those spaces have disapeared. I cannot 
find
where in the code this replacement is made, thus if one know 
better how
the exporter run here, it would be great to share. It would let me 
try
to work around this.

By order of preference, I’d have expected:

- spaces to be replaced by their HTML entity (either   or 
   )
- spaces left as this (no replacement).

I’m also curious about the rational behind the replacement. Is 
this to
protect something?

Thank you very much for your help,

Étienne


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-27 16:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-06-27 12:04     ` Ihor Radchenko
2023-06-27 15:59     ` Max Nikulin
2023-06-27 16:00     ` Max Nikulin

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.