Html export option to NOT compress multiple spaces in emacs org mode

When performing html export in org-mode, several spaces are compressed to one place. Is there a way to change this default behavior. (I don't want to replace extra nbsp spaces)

+7
source share
1 answer

I just tested this and org-mode does not display spaces from the content when using org-export-as-html .

Web browsers, of course, dump white space when rendering HTML.

I suggest you explore the white-space CSS property (the pre-wrap value is probably what you want), along with Org Mode support for CSS in exported HTML:
M-: (info "(org) CSS support") RET

+2
source

All Articles