pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.24k stars 124 forks source link

Parse error on bad Unicode escape sequence #563

Open Integralist opened 1 week ago

Integralist commented 1 week ago

Issue Description

bug report

Describe what happened (or what feature you want)

I opened a PR and edited the description and was presented with a large error.

gh: Parse error on bad Unicode escape sequence: "...<MY LONG PR DESCRIPTION HERE>"

Describe what you expected to happen

To see the description updated successfully, both in the editor and in the GitHub UI (i.e. the change was made and synced successfully).

How to reproduce it (as minimally and precisely as possible)

  1. :Octo pr list (select PR)
  2. Move to description block
  3. Press i to go into INSERT mode, edit description, then :w to write the buffer.

Tell us your environment

MacOS 14.4.1 NVIM v0.10.0

Anything else we need to know?