carbon-app / carbon

:black_heart: Create and share beautiful images of your source code
https://carbon.now.sh
MIT License
34.29k stars 1.9k forks source link

URL does not contain information about custom formatting (e.g. coloring) #1487

Open analytic-bias opened 11 months ago

analytic-bias commented 11 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to here
  2. The page looks like image

Expected behavior A clear and concise description of what you expected to happen.

It should look like image with custom formatting, for easy future edits: If I close the tab right now, the internal state will be lost and next time I want to make an edit I'll have to redo the custom coloring. Saving DOM with browser doesn't work (when opened, it either tells me about an error or becomes stuck at loading) either.

Screenshots If applicable, add screenshots to help explain your problem.

Info (please complete the following information):

Code snippet
  🇨🇳 hxruan@acchina:~$ ibhc hello.hs
This is the International Version no. 2 of the Beijing Haskell Compiler (iBHC2).

hello.hs:3:1: error (BHC 451): Pursuant to the Chairman's Order no. 2024-01 on National Cybersecurity and Antiterrorism (關於國家網絡安全與反恐怖主義的主席令第 2024-01 號), the ideologically sensitive function (§89 infra. 敏感函數) putStrLn cannot be applied to a parameter for which an instance of class RegisteredCompliance (§64 infra. 合規備案類型類) is not present in the context.
   |
 3 | putStrLn "Hello, Hong Kong Polytechnic University!"
   | ^^^^^^^^

Under consideration with Commissar of Computer Science Ac. Prof. Dr. Binxing Fang's Important Speech on the Matter of Compliance Given to the Commissary Committee for Progress and Development of the Beijing Haskell Compiler (§A4 infra. 計算機科學委員方濱興院士在北京 Haskell 編譯器發展改革委員會關於合規問題的重要講話), this perpetration has been duly reported to the National Agency for Protection of Political Security (國家政治安全保衛局).

Failed, no modules loaded.

🇨🇳 hxruan@acchina:~$ 
  

PS. Don't know if anyone of you finds this meme funny (it's about a recent and horrible political move of the communist party where they want to ban all apps with Internet access without registration of compliance from running on any device (cell phones, etc.) in China), lol.