mliebelt / pgn-viewer

Simple PGN viewer with the necessary features to display chess games
GNU General Public License v3.0
159 stars 44 forks source link

Comment before the first move - not showing up #555

Closed mliebelt closed 6 days ago

mliebelt commented 2 months ago

Discussed in https://github.com/mliebelt/pgn-viewer/discussions/550

Originally posted by **sbernsto** June 18, 2024 I was curious if anyone else has come across this. I'm seeing that If I have a comment prior to the first move being made, PGN-viewer does not show that comment. Example: Example PGN: [Event "London Opening: Introduction"] [Site "https://lichess.org/study/pLBSiPGF/wdGlcwDu"] [Result "*"] [Variant "Standard"] [ECO "D00"] [Opening "Queen's Pawn Game: Accelerated London System"] [Annotator "https://lichess.org/@/Sbernsto"] [UTCDate "2024.05.20"] [UTCTime "15:09:38"] { Hi! You've probably heard about an opening for white called the London System. In this study, I will teach you the basics of this popular opening. } 1. d4 { We will be starting with d4. It is not as aggressive as e4 can be but d4 is a good middleground between aggressive and solid games. The result that shows only the comments after 1.d4 and nothing before ![image](https://github.com/mliebelt/pgn-viewer/assets/6393618/c2270f56-1b14-4294-a700-3cb2a9241fd2)
mliebelt commented 2 months ago

Found the reason, came in with a pull request unnoticed. I have no time (at the moment) to do a new release, but when there is some time, the next release will contain only that bug fix.

mliebelt commented 5 days ago

Done the new release, could @sbernsto please check if that is now solved?