Replies: 3 comments
-
If that is the case, it qualifies as a bug. I have added support for exactly one comment before game starts, because that is a common case. I will try to create a unit test from your input, that first checks that the parser is handling it correctly, and then a visual example (named Thank you for sharing! |
Beta Was this translation helpful? Give feedback.
-
See ticket #555 |
Beta Was this translation helpful? Give feedback.
-
Closed that discussion, I think that issue is fixed now. |
Beta Was this translation helpful? Give feedback.
-
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://private-user-images.githubusercontent.com/6393618/340777824-c2270f56-1b14-4294-a700-3cb2a9241fd2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjQ2MjgsIm5iZiI6MTczOTQ2NDMyOCwicGF0aCI6Ii82MzkzNjE4LzM0MDc3NzgyNC1jMjI3MGY1Ni0xYjE0LTQyOTQtYTcwMC0zY2IyYTkyNDFmZDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMTYzMjA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjEyZGI3ZmE3OWNiOGM3YzVhZDI4NGIxZTEzODlkODMxMTY3YTNjY2M1YTVlYTVlNzRjZTYwZWQyYmM2M2Y4OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7Dn_qGLQ1_asVY-iTgIHp-ssXIVwB-S48aVEB-9h8X4)
Beta Was this translation helpful? Give feedback.
All reactions