Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

80%
+6 −0
Meta "Review suggested edit" page doesn't display Markdown source correctly

I recently suggested an edit to an answer. Basically, I formatted some code, adding code fences around it: But at the "Review suggested edit" page, the differences are not clearly displayed. I...

1 answer  ·  posted 4y ago by hkotsubo‭  ·  edited 2y ago by Monica Cellio‭

#3: Post edited by user avatar Monica Cellio‭ · 2022-09-13T02:00:18Z (about 2 years ago)
#2: Post edited by user avatar hkotsubo‭ · 2020-08-25T12:50:53Z (about 4 years ago)
  • I recently suggested an edit to [an answer](https://software.codidact.com/a/277215/277331).
  • Basically, I formatted some code, adding code fences around it:
  • ![suggest edit - editor shows newlines](https://software.codidact.com/uploads/NFWBwSVUnRNbTqgj2Ve2tS2w)
  • But at the ["Review suggested edit" page](https://software.codidact.com/posts/suggested-edit/100), the differences are not clearly displayed.
  • It shows all the answer text in a single "line":
  • ![pending edit - no newlines](https://software.codidact.com/uploads/yWGrsbktBi6Cv1bWUHegtt5o)
  • Hence, it's not only unclear what changes were made, but it also doesn't show the correct Markdown source (ex: there's a blank line before the code fences, but it's all displayed as it was in the same line).
  • I recently suggested an edit to [an answer](https://software.codidact.com/a/277215/277331).
  • Basically, I formatted some code, adding code fences around it:
  • ![suggest edit - editor shows newlines](https://software.codidact.com/uploads/NFWBwSVUnRNbTqgj2Ve2tS2w)
  • But at the ["Review suggested edit" page](https://software.codidact.com/posts/suggested-edit/100), the differences are not clearly displayed.
  • It shows all the answer text in a single "line":
  • ![pending edit - no newlines](https://software.codidact.com/uploads/yWGrsbktBi6Cv1bWUHegtt5o)
  • Hence, it's not only unclear what changes were made, but it also doesn't show the correct Markdown source (ex: there's a blank line before the code fences, but it's all displayed as it was in the same line).
  • ---
  • Another case: [someone suggested an edit to my question](https://software.codidact.com/posts/suggested-edit/105), but I can't see what was changed.
  • I had to copy-paste the text to an external editor and perform the diff myself to see that a single character was changed (a typo was fixed). Just looking at the page, it was really hard to find the difference:
  • ![hard to find diff](https://software.codidact.com/uploads/QMT6TYtdAPXbWLxgjU3HqQNz)
#1: Initial revision by user avatar hkotsubo‭ · 2020-08-21T13:49:22Z (about 4 years ago)
"Review suggested edit" page doesn't display Markdown source correctly
I recently suggested an edit to [an answer](https://software.codidact.com/a/277215/277331).

Basically, I formatted some code, adding code fences around it:

![suggest edit - editor shows newlines](https://software.codidact.com/uploads/NFWBwSVUnRNbTqgj2Ve2tS2w)

But at the ["Review suggested edit" page](https://software.codidact.com/posts/suggested-edit/100), the differences are not clearly displayed.

It shows all the answer text in a single "line":

![pending edit - no newlines](https://software.codidact.com/uploads/yWGrsbktBi6Cv1bWUHegtt5o)

Hence, it's not only unclear what changes were made, but it also doesn't show the correct Markdown source (ex: there's a blank line before the code fences, but it's all displayed as it was in the same line).