ChordPro / chordpro

Reference implementation of the ChordPro standard for musical lead sheets.
Other
306 stars 51 forks source link

HTML generation (bugs, features, ...) #400

Open sciurius opened 1 month ago

sciurius commented 1 month ago

The HTML backend is experimental. It is not up to date and lacks many of the newer ChordPro features.

Please report issues and ideas here in this thread.

svillacreses commented 1 month ago

I noticed that when trying to get the chords in Nashville notation and having a transpose value, it crashes (this happened in the PDF export too but was fixed)

devnibo commented 1 month ago

Using markup as defined in https://chordpro.org/chordpro/chordpro_markup/ crashes the program or the markup simply won't be applied. I didn't test every possible case, only two:

  1. Using <span color=red></span> doesn't crash the program but the text that should have the foreground color red in the generated html isn't red

    • test file: test.cho.txt
    • command: chordpro test.cho.txt --output test.html
  2. Using a convenience tag like <i></i> crashes the program

    • test file: test2.cho.txt
    • command: chordpro test2.cho.txt --output test2.html

_Edit: Just saw the previous discussion on groups.io at https://groups.io/g/ChordPro/topic/problem_exporting_html_with/107551367. Sorry for the duplicate._