While doing html-export in org-mode, multiple spaces are compressed to a single space. Is there a way to change this default behaviour. (I do not wish to replace extra spaces with nbsp)
I just tested this, and org-mode does not appear to delete spaces from the content when using org-export-as-html
.
Web browsers, of course, do collapse white-space when rendering HTML.
I suggest you look into the white-space
CSS property (the pre-wrap
value is probably what you want), along with Org Mode's support for CSS in exported HTML:
M-: (info "(org) CSS support")
RET
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With