Skip to content

Study import: Copy raw PGN doesn't remove the initial position comments #18468

@Siderite

Description

@Siderite

Exact URL of where the bug happened

Any study

Steps to reproduce the bug

  1. Create a new study chapter with the following PGN:
{ test 1 } 1.e4 { test 2 }
  1. Go to the Share section and press Copy PGN and Copy raw PGN, respectively

What did you expect to happen?

I expected Copy PGN to show the comments and Copy raw PGN to not show them.

What happened instead?

Copy raw PGN returns this PGN:

{ test 1 }
1. e4 *

PGN tags omitted for brevity.

Operating system

Any

Browser and version (or alternate access method)

Any

Additional information

Also, if I may say, "raw" is not the correct word here. One would expect that to represent a pure version, unchanged by Lichess, something like the original text of the imported PGN perhaps or something like that. Perhaps something like "clean" or "plain" or "stripped" would work better. People have been demanding strip chess for a long time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions