How do I stop multiple tabs being trimmed in html [Solved]

When I use multiple Tab or Spaces in a Writer Doc these are trimmed if I save as HTML Doc? I have tried Ctrl+Spacebar, but it does not work.

That’s a feature of HTML. The spaces are exported (check with a file viewing tool) but your browser folds multiple spaces into one. You can use a Unicode U+00A0 NO-BREAK SPACE, NBSP, if you really need to preserve hard spaces. Enter u+a0 and press Alt+X to convert the code into a character. Note that using multiple spaces to layout text is bad style, depends on font, and may look different in every other tool.

erAck, Thanks for the reply but it seems I didn’t make it clear. The document has been written in LibreOffice Writer not a HTML editor. I have found [Google] a suggestion to use Ctrl+SpaceBar. It doesnot work.
Multiple spaces is bad style I initially found the problem when using 2 - 3 tabs then tried spaces as an alternative.

It is not a browser issue.

For example:

  1. SOME TEXT 3 SPACES ==> THEN AN ARROW, 3 SPACES AND MORE TEXT

  2. OTHER TEXT ==> SAME SPACING FRONT AND REAR OF ARROW

If I save this as HTML from Writer, close the Doc and then reopen it in Writer the triple spaces are trimmed to one space.

I’m sorry I didn’t initially explain in this detail but I was trying to keep it brief and simple. [Catch 22]

Well, the import here was a missing piece of vital information. I think that’s not even a bug because (more than one) white space in HTML is not significant, and for example indented levels should certainly not end up being imported “as is”. However, in between text it might be worth to preserve. If you wish you can submit a request for enhancement (RFE) at https://bugs.documentfoundation.org/

What I needed is called Non Breaking Spaces. These are inserted by Shift+Ctrl+Space Bar.

The only other solution I found was to use MicrosoftOffice Word, the problem does not occur. This package is what I am trying to leave behind

Oh indeed, not being a Writer guy I overlooked Shift+Ctrl+Space works.