fix #23515
fix #29246: unrecognized chords with symbols imported with markup
update tests