Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
normaliseBlocks: Don't break between inline siblings #3823
When pasting rich content, blocks are split where new inline elements start, such as
How Has This Been Tested?
Copy the first paragraph from Wikipedia's entry on letterpress printing, paste to an empty post. Make sure that only one Paragraph is created, and that no formatting or content was lost from the source.
Types of changes
Looks good to me in latest Chrome on mac and in latest Firefox on mac.
<p><strong>Letterpress printing</strong> is a technique of <a href="https://en.wikipedia.org/wiki/Relief_printing">relief printing</a> using a <a href="https://en.wikipedia.org/wiki/Printing_press">printing press</a>, a process by which many copies are produced by repeated direct impression of an inked, raised surface against sheets or a continuous roll of paper.<sup><a href="https://en.wikipedia.org/wiki/Letterpress_printing#cite_note-Encyclop.C3.A6dia_Britannica-1"></a></sup> A worker composes and locks <a href="https://en.wikipedia.org/wiki/Movable_type">movable type</a> into the "bed" or "chase" of a press, <a href="https://en.wikipedia.org/wiki/Ink">inks</a> it, and presses paper against it to transfer the ink from the type which creates an impression on the paper.</p>