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

Fix of issue #522 #527

Closed ppeloton closed 4 months ago

ppeloton commented 4 months ago

Added fix to regenerateMoveSpan, SAN is directly read from pgn in puzzle mode, otherwise the FEN gets messed up when calling pgnReader.

mliebelt commented 4 months ago

Thank you for providing that fix. I have at least checked that it works for the example provided, and merged it then. The whole pgnPuzzle mode needs refactoring in my opinion.