Copy-and-paste text from external program results in loss of characters after "&" symbol
(Musescore 2.0.2. Windows 10).
Create some text, say "Copy & Paste," in an external word processor – e.g WordPad, Open Office. Now copy and paste the text into any MuseScore text object.
Result: All characters after the "&" are lost.
Similar bug at https://musescore.org/en/node/72051.
Comments
Observation, if helpful: Repeating Ctrl + V text appears under subsequent notes
Vista/2.0.2
That issue is totally reproducible. It is due to the interpretation of HTML names in core paste function (ex: " " for space), that seeks for the semicolon in the remaining part of the inserted text to extract the HTML name. When the HTML name is invalid, the remaining part of the string is ignored.
Just try to paste "copy & paste" to it working the way you'd expect.
I'm submitting a pull request to fix that bug.
You can find the PR at https://github.com/musescore/MuseScore/pull/2245
Fixed in branch master, commit 1b8edc97b4
Fix #81501 : copy/paste containing HTML name issue
Fixed in branch master, commit 6e607d508f
Merge pull request #2245 from eplanet/81501_copy_paste
Fix #81501 : copy/paste containing HTML name issue
Fixed in branch 2.0.3, commit bbf021a4c2
Fix #81501 : copy/paste containing HTML name issue
Automatically closed -- issue fixed for 2 weeks with no activity.