User:Mikhail Ryazanov/sandbox/display math span

Illustration for the bug T182041, using <span> instead of <div>:

Some paragraph without math, just to show line spacing and paragraph spacing. Yes, just to show line spacing and paragraph spacing.

Another paragraph, now with some displayed formula inside the paragraph: and the paragraph continues after it, without any extra space (or indent, if paragraph indentations were used).

Here comes a separate paragraph that has a displayed formula inside it, but this formula ends the paragraph:

Then a new paragraph starts, properly spaced from the previous one (or indented, if...).

The final paragraph, again just to show line spacing and paragraph spacing.