Hello,
On RhodeCode 5.0.0.beta21,
I noticed that an edition of a Gist after first save breaks the content.
How to reproduce
- Create a multiline Gist
- Save
- Click Edit
- Save again
What happens
At first, my text looked like this:
# Server:
# --
# create the new repo
cd /volume1/git/
git init MyNewRepo.git
During the editing phase, the content is not rendered correctly:
b'# Server:\r\n# --\r\n# create the new repo\r\ncd /volume1/git/\r\ngit init MyNewRepo.git'
So as soon as I edit it, it breaks the formatting.
What is expected
The edition form of a gist should look exactly the one at creation, meaning it should render the existing text correctly (not as a Python string).
I suppose it’s a little bug, should be simple to fix.
Justin