Problem: The parser wraps a <p></p> around an end of table marker |} when used with a template that does it's table generation more directly in HTML syntax as I understand it.
Steps to reproduce:
I generated a minimal test case here - https://en.wikisource.org/wiki/User:ShakespeareFan00/Aligned_table_test, The use of the nofooter paramater is per the documentation for the template here :- https://en.wikisource.org/wiki/Template:Aligned_table, to supress the closing </table> tag. In normal tables the |} is used to close the table..
What was the expected behaviour:
A 'balanced' output being the table data, with a proper closure.
What actually happend:
A closed table row per the template, but the |} is misread and converted to a paragraph instead of to a closing </table> tag. The parser treats this as 'fostered' content and relocates, meaning the table genrated is unclosed.