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
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...
#2: Post edited
- 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
"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).