A Really Weird Bug I Encountered in Notion—Apostrophe Becomes Right Single Quote
🐛

A Really Weird Bug I Encountered in Notion—Apostrophe Becomes Right Single Quote

Published
April 10, 2022
Updated
Last updated July 12, 2022
Description
This is a post about a really weird bug I encountered recently when using Notion. The apostrophe becomes the right single quote automatically.
Progress
Still Working On
Author
Feng Kaiyu
This issue has now been fixed.

What’s this bug?

Notion will automatically convert apostrophes (') and quotation marks (") to left single quotation marks () and right double quotation marks (). Here is a recording below:
Please note that only the text block is affected, however, the code block looks normal.

Which platform?

Reproduced this bug on Web and Android.
Didn't test on other platforms.

What else have I tried?

Would this be caused by:
  • OS? No. Tried on both Windows and Linux
  • Languages? No. Tried with Chinese as default and then English.
  • Input? No. This only happens when using Notion.
  • Browser? No. Tried on both Chrome and Firefox.
  • Google Chrome Extensions? No. Tried in Incognito mode.
  • Old Cache in Notion? No. Tried in Incognito mode on Chrome. And my Firefox is newly installed.

More about my system info

❯ echo $LANG zh_CN.UTF-8 ❯ uname -a Linux fky-arch 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64 GNU/Linux ❯ google-chrome-stable --version Google Chrome 100.0.4896.75

Possible cause (I guess)

Let’s assume that not all users get affected (especially the English users). Otherwise, it should be found immediately by the English user.
And if this bug is led only by language in HTTP REQUEST, changing Language should resolve the problem. But the result is negative.
So maybe Notion is doing some A/B testing aimed at Chinese users. Any account in the variation group is affected by this bug.

Another warning that might get related

It seems like Notion is testing some spellcheck feature. And warning logs keep appearing in the console.
notion image