shaack / cm-pgn

Parse and create PGNs (Portable Game Notation for chess games)
MIT License
29 stars 20 forks source link

commentMove not set on first move in history if it's not the first move in the game #19

Open derekdavenport opened 1 year ago

derekdavenport commented 1 year ago

For example this pgn starts with 1... e6

It should have the commentMove of Do you remember the first plays? Prove it! : D

I looked to see if I could fix this, but I see the parser is generated code.

P.S. Would it be possible to not remove line breaks from comments?