Questions tagged [diff]
Refers to the views that show revision differences and suggested edit changes in various ways by breaking them down into additions and deletions.
111
questions
13
votes
0
answers
135
views
Changing the type of diff view on revisions that don't change the post's rendered output doesn't work, and may cause excessive load on SE's servers
On post revisions that don't change the post's rendered output, such as addition/removal/edits of HTML comments, changing inline links to footnote links, changing image descriptions, etc., the toggle ...
-6
votes
1
answer
118
views
Changing the order of items in an ordered list incorrectly shows additional list items in the inline diff view
I have an ordered list of 3 items below. However, I later realized that the item which I initially wrote as the first in the list is actually the least important and should be at the end, so I edited ...
7
votes
0
answers
50
views
Diff doesn't take stripped HTML tags into account
Yesterday I edited this question to correct the display of something in angle brackets, <root_music_folder>. The Markdown parser thinks it's an HTML tag, it's not on the allow list so it strips ...
22
votes
0
answers
210
views
Remove the strikethrough on deleted text in suggested edits
I initially posted this on MathematicsMeta where it was relatively well received (+20/-0), then I thought to post it here since it relates to multiple sites - possibly all sites, at least all sites ...
1
vote
0
answers
43
views
Alignment bug of Run Code Snippet buttons after approving suggested edit
I approved a suggested edit on this post by clicking the edit link directly on the post. After approving the edit it seems the "Run code snippet" buttons are vertically aligned in the diff ...
4
votes
0
answers
31
views
Markdown diff shows headers changed, but only body text changed [duplicate]
On the revision history for this post, there are a couple edits which show changes to headers when viewed Inline:
But when switching to the Side-by-side Markdown diff, it appears the changes only ...
30
votes
0
answers
297
views
Revision histories of posts show headings being removed and re-added every single revision, even if they aren't changed
If a post has heading markup and has been edited, the revision histories' inline and side-by-side views seem to show them all changing on each and every edit, even though they aren't edited at all. (...
8
votes
1
answer
224
views
Sometimes diff isn't shown in edits to code inside source fences
It seems the visual highlight of revision/code differences in source fences is currently broken for some posts in the suggested edits review queue.
Example 1. In this post. The 3rd line of code was ...
7
votes
0
answers
78
views
Incorrect revision diff for lists
In the second revision of my post I've added two links as list items and removed a sentence. The Markdown diff looks fine:
But the inline and two-column mode diffs look weird:
The first eight list ...
7
votes
1
answer
115
views
Markdown diff displays changes, but there are no changes
Revision #2 for the answer in side-by-side markdown mode shows diff at the top and at the end of the post:
The only change here is adding a status-planned tag (for some reason with backslashes) at ...
24
votes
0
answers
204
views
Code marked as deleted does not look good in side by side markdown view in dark mode
Can't see deleted code
I have come across a situation in dark mode. This is a serious contrast problem according to the following preview:
It is too expensive to distinguish the text from the ...
6
votes
1
answer
144
views
Revisions list Code Block stretches screen
bug
See the revision histories here:
https://stackoverflow.com/posts/46344443/revisions
https://wordpress.stackexchange.com/posts/383658/revisions
The long code blocks page-stretch, as opposed to ...
5
votes
1
answer
35
views
"Show full diff" link is wrongly placed in the revision history of very long posts [duplicate]
When viewing the revision history of very long posts, only the changed parts of the posts are shown, while the rest is hidden. For example, in the revision history of this answer, we see the following:...
2
votes
0
answers
30
views
Inline code not rendered correctly in rendered output diff on suggested edit
This suggested edit on Stack Overflow only removes excess indentation from code, as shown in the markdown diff:
However, the rendered output diff shows a newline being removed before ‘Sample output’ ...
1
vote
0
answers
29
views
Diff for an old suggested edit contains more recent text [duplicate]
I just noticed that an old approved siggested edit for my post contains a more recent version of the post after my today edit.
I free-hand-circled a code from my post that I've added recently. At the ...
22
votes
2
answers
188
views
Can I get a diff of my changes before submitting an edit?
When editing a post I usually want to write a concise summary (especially when suggesting an edit).
This would be much easier if I was able to get a diff for my changes. Sometimes editing a post ...
7
votes
0
answers
51
views
Difference between revisions of a list is shown as complete rewrite of the list
I've come across a strange display of a difference between two revisions of a list in a post, where in a newer revision only one bullet point was changed: the "inline" and "side-by-side" differences ...
3
votes
0
answers
86
views
Too much whitespace breaks markdown side-by-side diff
I came across this "bug" when reviewing this suggested edit. The review basically removes a lot of useless whitespace from a codeblock (that was used to show a stacktrace). This is how it looks like ...
8
votes
1
answer
121
views
MathJax is (inappropriately) parsed in Markdown diffs
I just noticed that this diff (select "side-by-side markdown" mode if it's not already selected) is showing MathJax where it doesn't belong:
(MathJax right-click menu included to show that those ...
3
votes
0
answers
36
views
"Rendered output", "inline", and "side-by-side" show everything as being removed then added back when it's a small edit on a long post
I just saw this edit to a very long post. The markdown diff of the edit looks fine, showing that six or so lines were changed, but the "rendered output" of the edit shows everything (even the image) ...
2
votes
0
answers
35
views
Make reviewing edits with MathJax more manageable [duplicate]
Currently, when viewing an edit where MathJax is edited, the rendered output side-by-side diff breaks the MathJax rendering. This is particularly annoying when reviewing edits, as the actual result ...
-3
votes
1
answer
68
views
Bug in diff: wrong words are marked as deleted and inserted
I would expect the words " in this case" to be marked as deleted. Instead " properly" is marked as deleted and inserted.
Live: https://stackoverflow.com/review/suggested-edits/17378116
Screenshot:
1
vote
0
answers
21
views
Changing length of line prior to tab shows as changed in diff
If there's a tab in the answer, and the part before the tab is changed, the words after the tab will appear changed.
Here's the issue in action on Bitcoin SE. The address looks changed, even though ...
2
votes
0
answers
40
views
Make suggested edits which indent code easier to verify
It's fairly frequent to review suggested edits where someone helpfully puts code into code blocks. For instance:
These edits are great and are appreciated; they generally improve the atmosphere of ...
8
votes
0
answers
39
views
Allow side-by-side comparison of edited question titles [duplicate]
On a question's revision page, you can select between 3 diff modes:
This generally works fine for edits to the question body, but does not work for the question title. E.g. in the side-by-side ...
8
votes
1
answer
69
views
Revision history marks spaces when retagging occurs
When question tags have been changed you can see spaces marked with green or red color. E.g. rev 18:
I suppose it's done because of easily implementation, but it looks ugly.
Is it possible do ...
2
votes
0
answers
27
views
Insertion highlights in revisions differ between inline vs markdown, and prefer strange similarities
This seems to be an issue that was raised in the past and then marked as status-completed, so I'm not sure if it's a regression or a different issue.
There seems to be a minor issue with the ...
0
votes
0
answers
25
views
Incorrect side-by-side visual diff when adding ` characters to links [duplicate]
In https://unix.stackexchange.com/posts/345508/revisions, a user edited my post to, among other things, have ` characters. The side-by-side Markdown diff shows that [the zsh manual][1] was changed to ...
1
vote
0
answers
12
views
Show markdowns for revision links [duplicate]
While seeing revisions of a post, there are three options inline, side-by-side and side-by-side markdown for every revision:
And every revision has link facility to share/link:
But the revision ...
6
votes
1
answer
325
views
Can the side-by-side diff algorithm inform the side-by-side Markdown algorithm?
The side-by-side Markdown diff of this change (to the Recent feature changes) gets rather confused, because it decides to see some similarities in the new entry for 2016-06-30 to the old one, and thus ...
2
votes
0
answers
26
views
Editor feature renumbers link tags, making diffs in long posts hard to read
It is known that the javascript-based post editor sometimes renumbers all Markdown format link identifiers in a post, including identifiers of links that aren't even touched in an edit.
This causes ...
3
votes
1
answer
92
views
Left side markdown diff outside of its area
This is how I see this review on Chrome:
It seems removal of spaces went outside of its area from the left side and looks like something was removed on the right side.
This is very confusing way to ...
1
vote
0
answers
29
views
Diff doesn't recognise properly the link order changes
This is the diff result (as part of the review process for suggested edits):
and so on.
I believe the only change was a new link and as result the ordering changed (where the order is usually re-...
5
votes
0
answers
33
views
Excess whitespace deleted bleeds into suggested edit markdown
As I was making a suggested edit, I had noticed a lot of whitespace at the very end, which I then removed. Now, when I look at the markdown of the edit suggestion, it kind of makes it look like I've ...
16
votes
1
answer
160
views
Improve display of suggested edit deltas for format changes
When I see an edit that adds backtick formatting like this, the formatted view shows a lot more changed text than is actually the case. Specifically, whitespace before the opening backtick and the ...
9
votes
1
answer
105
views
Broken side-by-side comparison in revision page when a Youtube video is included and rendered
I came across this post and decided to check its revision (to explore the source code for the YouTube video).
If we choose a view then refresh, then the views show up correctly, except for the side-...
14
votes
1
answer
470
views
Side-by-side markdown diff chokes on simple indentation edit
I don't think this qualifies as a bug, exactly, but revision 5 on this post has a terrifying side-by-side markdown diff that made me think I messed something up, when all I did was highlight all the ...
1
vote
0
answers
34
views
Visualizing code diffs on posts (not edits)
This question is not about the diff tool used to validate post edits.
In many posts, the first person asks a question and provides some code, the reply contains some code as well. In some cases, it ...
5
votes
1
answer
39
views
How do I ensure that the "formatting" edit I am reviewing does not add [undeclared] changes to the code being formatted?
A lot of edits to be reviewed does the formatting; like turning
code code code code
code code code code
code code code code
code code code code
into
code code code code
code code cOde code
code ...
4
votes
0
answers
44
views
Diffs at /revisions differ from the diffs at /suggested-edits/
https://hinduism.stackexchange.com/posts/238/revisions (private beta; please don't make a mess) looks like this:
The corresponding suggested edit (https://hinduism.stackexchange.com/review/suggested-...
36
votes
1
answer
212
views
Allow linking to specific revision of revision history showing diff
Currently, the only way to link to a revision (clicking "link"), you just get a page which shows what the post looked like at that revision:
Personally, I rarely use this and haven't ever found ...
3
votes
1
answer
71
views
Edit changed nothing
A second or two after I made an edit on a post, I noticed that the original author of the post made an edit that changed absolutely nothing. Neither the Stack Overflow difference algorithm nor two ...
9
votes
0
answers
140
views
The two sides of a side-by-side markdown diff are overlapping each other
Time for a super-ultra-trivial bug: if you look at diff #7 for this post on meta.Anime.SE, you see this (on Chrome 34 / Windows 7):
The deleted whitespace on the left side of the diff is slightly ...
17
votes
2
answers
200
views
Side-by-side diffs are not side-by-side
This only seems to be an issue here on Meta. When in the side-by-side edit view, the two versions appear above each other instead of beside. The issue does not seem to depend on the browser width, and ...
1
vote
1
answer
105
views
Does Stack Overflow save all the versions of the edited blobs in database or just the diffs?
I read in many posts that Stack Overflow uses some kind of diff algorithm to find diff between text blobs of edits. I wanted to know if Stack Overflow saves all the blobs in the database as-is or if ...
0
votes
1
answer
123
views
Side-by-side markdown diffs no longer render newlines. Is this deliberate?
Self-explanatory title, I think.
Example here: https://stackoverflow.com/posts/21689452/revisions
FYI Firefox 26.0 Win XP SP3.
11
votes
2
answers
963
views
What does Stack Overflow use for its community wiki edits comparison feature?
I am referring to this feature:
Note how Stack Overflow shows which bits have been deleted, and which parts have been added (shown in red and green).
Basically, I was wondering if Stack Overflow ...
4
votes
1
answer
96
views
Strike Through in Side by Side Views
Removing the red strike though of the red text on red background in side by side views would improve readability.
From https://stackoverflow.com/review/suggested-edits/3702973
Even with markdown:
...
3
votes
0
answers
157
views
Differentiate formatting changes in Revision Diff from text content changes
In the current style of diff pages, all changes made in an edit are shown as deletions and additions.
This makes it rather difficult to distinguish between formatting and capitalization changes from ...
13
votes
0
answers
90
views
Bugged simultaneous edit
In the following post: https://stackoverflow.com/posts/19760375/revisions
A user made a minor edit to my post (edit 3) by correcting a mistake at the same time that I made a larger but non-...