ftes/ultimate-to-chordpro

Remove whitespaces/newlines after copying songs from UG as input

Opened this issue · 0 comments

Everytime I copy and paste a song from UG into the input box, I need to delete all the new lines that this copy pasting causes to make the converter work as expected. The problem with these new lines is, that chords aren't inserted in the right places within the chordpro output and sections arent recognized properly, if these sections arent coherent.

Since you are already able to identify the sections of a song, i might be a nice feature to remove all empty lines within one section to generate a) correct sections and b) correct insertions for chords within the chordpro output.

Btw, I love your tool. Please keep going. If you need help with coding, give me a hint :)