?plain=1 is not added to "permalink"

I can construct the new ?plain=1 manually, for example:

https://github.com/github/docs/blob/31e21a286f0175de31c5a730d1a131e3cac9a10e/content/github/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md?plain=1#L39-L43

But when I go there and do “Copy permalink” from the “…” menu:

Screen Shot 2021-07-01 at 6.59.36

I get a URL without ?plain=1:

https://github.com/github/docs/blob/31e21a286f0175de31c5a730d1a131e3cac9a10e/content/github/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md#L39-L43

This feels like a small UI bug.

(Sorry, I could not find an appropriate category, tried to search for “code” or “UI” or “github.com”.)

2 Likes