Last modified: 2012-04-09 19:04:01 UTC
A user from Polish Wikisource reported to me that a last text fragment from a block element is not included in the paragraph if it does not end with a new line. For an input: <div> A<br /> C </div> MediaWiki produces: <div> <p>A<br /> C </p> </div> Both A and C are in the same paragraph. That's ok. For an input: <div> A<br /> C</div> MediaWiki produces: <div> <p>A<br /> </p> C</div> C is not included in the paragraph.
Created attachment 10388 [details] Parser test