Closed perivar closed 7 months ago
Nice! Would you mind doing a pull request with the fix and updated tests cases that would be failing today? 🙏
I will look at this later. I did not find any immediate errors trying our more chords so I might have been to quick believing these changes are necessary.... I'll get back to this :)
No worries, let's keep this open just in case
closing since no actual case has been submitted
I believe the current replace entries will fail in several instances.
An updated version I use is: const chordSymbolUltimateGuitarRenderer = (chord: any) => { chord.formatted.symbol = chord.formatted.symbol .replace(/[(), ]/g, '') .replace(/mM(?!aj)/g, 'mMaj') .replace(/M(?!aj)/g, 'Maj') .replace('°', 'dim');
return chord; };