Skip to main content

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.

8 votes
0 answers
63 views

Edit review page: looks like all tags gone

No big deal, but here with the side by side display, a quick look gives the false impression that all the tags were removed in the new version. So perhaps it would be best to repeat them anyway, in ...
Dan Jacobson's user avatar
  • 1,000
4 votes
0 answers
96 views

Which engine does Stack Overflow use to generate edit history? [duplicate]

What is the engine that Stack Overflow uses for the comparison of the two question versions? Below is an example from Math Stack Exchange: I'd like to use a similar solution for my website, but ...
Kernier's user avatar
  • 41
13 votes
0 answers
284 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 ...
Sonic the Anonymous Hedgehog's user avatar
-6 votes
1 answer
155 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 ...
hb20007's user avatar
  • 817
7 votes
0 answers
55 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 ...
Glorfindel's user avatar
  • 253k
23 votes
0 answers
219 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 ...
Just_A_User's user avatar
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 ...
bad_coder's user avatar
  • 27.3k
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 ...
jtbandes's user avatar
  • 5,463
30 votes
0 answers
304 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. (...
Sonic the Anonymous Hedgehog's user avatar
8 votes
1 answer
225 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 ...
bad_coder's user avatar
  • 27.3k
7 votes
0 answers
81 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 ...
αλεχολυτ's user avatar
7 votes
1 answer
136 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 ...
αλεχολυτ's user avatar
25 votes
0 answers
208 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 ...
David E. Luna M.'s user avatar
6 votes
1 answer
145 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 ...
pkamb's user avatar
  • 4,677
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:...
wimi's user avatar
  • 4,977
2 votes
0 answers
32 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’ ...
cherryblossom's user avatar
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 ...
αλεχολυτ's user avatar
22 votes
2 answers
195 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 ...
guntbert's user avatar
  • 1,433
7 votes
0 answers
52 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 ...
Ruslan's user avatar
  • 367
3 votes
0 answers
93 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 ...
Berriel's user avatar
  • 131
8 votes
1 answer
129 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 ...
Ilmari Karonen's user avatar
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) ...
Laurel's user avatar
  • 53.7k
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 ...
Discrete lizard's user avatar
-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:
Halcyon's user avatar
  • 267
1 vote
0 answers
23 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 ...
Nick ODell's user avatar
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 ...
anonymous2's user avatar
  • 3,057
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 ...
αλεχολυτ's user avatar
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 ...
αλεχολυτ's user avatar
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 ...
Jason C's user avatar
  • 26k
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 ...
strugee's user avatar
  • 358

15 30 50 per page