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.

Filter by
Sorted by
Tagged with
8 votes
0 answers
62 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
4 votes
0 answers
95 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
280 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
123 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
53 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
  • 252k
23 votes
0 answers
217 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.1k
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
303 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
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 ...
bad_coder's user avatar
  • 27.1k
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
135 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,876
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’ ...
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
192 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
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 ...
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
125 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.6k
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
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 ...
Pandya's user avatar
  • 10.6k
5 votes
1 answer
365 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 ...
Mark Hurd's user avatar
  • 5,612
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 ...
b_jonas's user avatar
  • 694
3 votes
1 answer
93 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 ...
kenorb's user avatar
  • 2,131
1 vote
0 answers
33 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-...
kenorb's user avatar
  • 2,131
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 ...
Jamal's user avatar
  • 2,743
16 votes
1 answer
163 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 ...
Nathan Tuggy's user avatar
  • 13.4k
9 votes
1 answer
112 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-...
nhahtdh's user avatar
  • 5,562
13 votes
1 answer
515 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 ...
senshin's user avatar
  • 14k
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 ...
willeM_ Van Onsem's user avatar
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 ...
Vi.'s user avatar
  • 1,727
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-...
senshin's user avatar
  • 14k
38 votes
1 answer
242 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 ...
Bernhard Barker's user avatar
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 ...
Anonymous's user avatar
  • 181
9 votes
0 answers
149 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 ...
senshin's user avatar
  • 14k
17 votes
2 answers
202 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 ...
ughoavgfhw's user avatar
  • 1,502
1 vote
1 answer
106 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 ...
abhinav's user avatar
  • 113
0 votes
1 answer
127 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.
Lightness Races in Orbit's user avatar
12 votes
1 answer
1k 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 used ...
Zerium's user avatar
  • 327
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: ...
Dieter Lücking's user avatar