What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

The differences shown for revision 2 of this edit revision summary have a misplaced </code> tag, possibly related to the replacement of a code span adjacent to another code span.

As a result, most of the body of the text with differences is formatted as code (tested on Chrome 12.0.742.112):

Misplaced Code Tag

According to the W3C Markup Validation Service, the page contains these errors:

Line 144, Column 757: end tag for "CODE" omitted, but its declaration does not permit this

Line 148, Column 131: end tag for element "CODE" which is not open

share|improve this question
    
Wow, that's pretty weird. –  Lance Roberts Jul 7 '11 at 4:15

1 Answer 1

This was fixed in the great diff engine refactoring of 2011. Before that, the diff engine only had a very limited understanding of HTML (it wasn't a lot more than a normal plain text diff on the HTML source). This caused some very unhealthy output in some cases, like the one you found. The new (well, not so new anymore, since I'm posting this in 2013) diff engine is a lot smarter than that, as you can see.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .