Forum Discussion
Extra line feeds added around code blocks if a post is edited
Hi JCM_iTalent ,
The normal text is typed. 99% of the time any text in the code box is pasted into the code box, using the </> icon on the toolbar.
I am using Chromium Edge, currently build 84.0.522.59, but this has been happening at least a month or so.
It never happens when I create the first message. Everthing looks good.
But I can submit it, then
- Press Edit Post
- add 1 word to the end of the post. Never touching anything else.
- press submit.
It automatically adds the line feeds around the code boxes. It will continue to do this until there are 2-3 extra lines, then it seems to stop. I can edit it 5 or 6 times, but it won't go beyond the 2-3 extra line feeds it inserts.
I can delete the line feeds when I edit, but they will come back if I edit again.
I always see this around code boxes. I sometimes see it around images, but not as often. Rarely even.
I'm going to create a GIF showing this.
This is some awesome code!
forgot something!
ok JCM_iTalent - here is a GIF showing how this happens (for some reason it might not show up in your browser. Click onthe broken image icon if that happens. It will open in a window and show it. Might be because it is 3MB)- meanwhile all of these edits have added a ton of new line feeds.
- JCM_iTalent6 years ago
Microsoft Employee
Thanks for the detailed steps, edhans. The GIF was extremely useful and helped me reproduce the issue.
I have passed your report on for investigation. We will let you know if we have any updates.
- JCM_iTalent6 years ago
Microsoft Employee
edhans We have reported the issue to our platform vendor, and they are investigating. Thanks for bringing this to our attention.
- JamesThunes4 days agoNew Member
This has been open for 6 years without an update. Has there been any progress? I still see the error