Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Duplicate diagram #262

Closed
paulotronik opened this issue May 13, 2023 · 4 comments
Closed

Bug: Duplicate diagram #262

paulotronik opened this issue May 13, 2023 · 4 comments

Comments

@paulotronik
Copy link

Hello,

This problem is popping up whenever I add markings to the diagrams or make a variation other than the starting position.

img

@yo35
Copy link
Owner

yo35 commented May 13, 2023

Can you provide the PGN corresponding to this screenshot?

@paulotronik
Copy link
Author

[pgn][SetUp "1"]
[FEN "1kb1r1r1/ppq5/2p5/3p1p2/2nP1N1P/PQR4P/KPB1N1P1/8 b - - 0 1"]

{[#]}

31... Rxg2 32. Nxg2 Rxe2 33. Ne3 Qh2 0-1[/pgn]

@yo35
Copy link
Owner

yo35 commented May 14, 2023

The 2nd diagram is due to the [#] token, as explained in https://rpb-chessboard.yo35.org/documentation/pgn-syntax/#diagrams. Remove it to get rid of the 2nd diagram.

@yo35 yo35 closed this as completed May 14, 2023
@paulotronik
Copy link
Author

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants