Description: LO Writer changes some instances of U+0020 SPACE to U+00A0 NO-BREAK SPACE if text from a text editor is copied and pasted into a Writer document. It appears to me that these changes occur especially when a passage changes from roman to italic, or vice versa. Steps to Reproduce: 1. Create an .md text file with both roman and italic passages, and normal spaces in between (e.g. in BBEdit, MultiMarkdownComposer). 2. From the preview pane in the text editor, copy and paste this text into a Writer document. 3. Some of the spaces of the original .md file have now been converted to no-break spaces. Actual Results: see 3. above Expected Results: It should have kept the normal spaces as normal spaces. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0
Created attachment 137186 [details] an .odt file with text copied and pasted from the preview window of an external editor
I rather suspect writer is innocent, try ctrl+shift+v for the paste special dialog which lists all the formats the source application makes available to paste from. Is it *just* Unformatted text, or is there also e.g. HTML listed, and that selected as the default. If there is both HTML and plain text available, see what happens if you try plain text vs html
You are right: there are two pasting options (HTML and Unformatted text), and with Unformatted text the spaces render correctly in LO Writer. But when Unformatted text is used, the formatting gets lost.
Sounds to me like a DUPLICATE of bug 109343 or at least pretty similar
*** This bug has been marked as a duplicate of bug 109343 ***