Closed jindrahelcl closed 2 years ago
done
@EbrithilNogare Can you please always link the commit or PR which closes a given issue? An easy way how to do it is to write "fixes #xy" in the commit message, which automatically closes issue #xy.
This issue is not relevant as we are not swaping text from translation to source (we keep source). But if you want it, this commit is fixing same problem but for copy button.
trailing whitespace (e.g. empty lines after the text) is copied to the target field and it breaks the alignment of the componenta in the layout.
i guess we could safely remove all trailing (and also leading) whitespace and maybe replace all whitespace sequences containing a newline with a single newline.