Inserting various non-standard (Unicode) spaces in the attachment won't allow the line to break at the position where the space was inserted if it's immediately before the closing bracket or between the closing bracket and slash.
Steps to Reproduce:
1. Have a look at the attachment
The line will not break if a non-standard space is immediately before the closing bracket or between the closing bracket and slash.
The line should break at the non-standard space inserted immediately before the closing bracket or between the closing bracket and slash as well.
User Profile Reset: Yes
I actually found the bug when pasting ZWSP to allow line break between the closing bracket and slash.
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Created attachment 136805 [details]
Did you test it with an actual version? If not, could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
The bug is present in the latest version as well, what other info do you need?
Is the attachment OK?
So what are we testing here? Do you want us to try and insert a paragraph or line break at these positions you are talking about? It seems to work fine here.
When I insert e.g. ZWSP immediately after the closing bracket, the line is allowed to break when the part after the ZWSP is too long, as if it was a standard space. That's OK.
On the other hand, when I insert the same type of space immediately before the closing bracket, the line is not allowed to break when the part after the ZWSP is too long, which is the same as if there wasn't any space. That's not OK.
By "line", are you referring to the multiple underscores in your file?
Yes, mostly. My "line" is any series of non-newline characters.
The thing is, that the left and right column should be almost the same (as it is the case for standard space, see "SPACE"). That is, there should be no difference between inserting a special space before or after the bracket.
Ok, let's set to NEW