Last modified: 2010-05-15 14:36:29 UTC
For instance, consider a template {{Table test}} which inserts some table into the page. Now, if I create a page like --- cut here --- Blah, blah, blah {{Table test}} Blah, blah, blah --- cut here --- the table will be surrounded with <p><br/><p> in the generated HTML. This is very annoying, because it creates too large blank margins or forces you to lump the text together into unreadable --- cut here --- Blah, blah, blah {{Table test}} Blah, blah, blah --- cut here ---
I've fixed this in my installation, attached are screenshots showing the following wikitext being rendered ({{Table test}} includes the same table as the one shown inline below): Blah, blah, blah {{Table test}} Blah, blah, blah Blah, blah, blah ----- Blah, blah, blah {| border="1" cellpadding="2" cellspacing="0" |- bgcolor="#efefef" ! Year !! Population !! Change !! Municipal population |- | [[1981]] || 1,062 || - || - |- | [[1991]] || 1,122 || 70/5.65% || 2,108 |- | [[2001]] || - || - || - |} Blah, blah, blah Blah, blah, blah
Created attachment 409 [details] Before
Created attachment 410 [details] After
I fixed the bug for tables in REL1_4 and HEAD and changed its summary to refer only to tables, if you notice this problem elsewhere please file a seperate bug for that.
*** Bug 1598 has been marked as a duplicate of this bug. ***
*** Bug 1176 has been marked as a duplicate of this bug. ***