Last modified: 2014-08-14 22:04:31 UTC
With the following wikitext sample the content in 4 does not get a yellow background and blue border. == foo == == 2 == === 3 === <div style="background: yellow; border: 1px solid blue;"> == 4 == Content </div>
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1514
Note that the given code was never intended to work in our section model, since it puts the start of the div in one section and the end in another. But such machinations are not uncommon because there's no automatic section wrapping on desktop, or provision for styling sections at all, and people sometimes want to be able to style them. It would perhaps not be unreasonable to sniff backwards for unclosed block tags like a <div> just before section boundaries and switch which bit belongs where -- but note this could get "interesting" with section editing etc.
There are 2 different issues here: weird collapsing which is a minor problem and sections inside diffs not having edit links - this one is more serious.
Hmm, looks like edit links work OK, kicking the card back to backlog.
*** Bug 69104 has been marked as a duplicate of this bug. ***