]> piware.de Git - chordpro-web.git/commit
Flush open verse on directives and at end of file
authorMartin Pitt <martin@piware.de>
Wed, 23 Sep 2026 20:44:59 +0000 (22:44 +0200)
committerMartin Pitt <martin@piware.de>
Wed, 23 Sep 2026 20:45:31 +0000 (22:45 +0200)
commit9e0a0a71796282b40d24c068b9d73f9ab43d112c
tree26f3a27503b3bc494a4f4f95df89173948c6bfe2
parenta6e0318b5beb98ef7920a0a60426e429811445b0
Flush open verse on directives and at end of file

Verses were only emitted on a blank line. A directive directly after a
lyrics line, such as {comment: Chorus}, thus appeared before that verse,
and a file without a trailing newline lost its last verse.
chordpro-web.js