Page MenuHomePhabricator

Redundant whitespace around tables (<p><br/><p>)
Closed, ResolvedPublic

Assigned To
None
Authored By
bzimport
Jan 16 2005, 6:06 PM
Referenced Files
F1796: after.png
Nov 21 2014, 8:10 PM
F1795: before.png
Nov 21 2014, 8:10 PM

Description

Author: pogonyshev

Description:
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 ---

Version: unspecified
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz1343
TitleReferenceAuthorSource BranchDest Branch
deploy: Moved to standard ci flowsrepos/cloud/toolforge/registry-admission!1dcaromove_to_ci_flowsmaster
Run tests on "regular" CI runnerrepos/abstract-wiki/wikifunctions/function-evaluator!4kindrobotrun-test-on-untrusted-runnermain
Setup CI for GitLabrepos/abstract-wiki/wikifunctions/function-evaluator!1kindrobotmove-to-gitlabmain
build: Clean up errant references to gerritrepos/abstract-wiki/wikifunctions/function-orchestrator!3jforrestergitlab-clean-upmain
projects publishing wikifunctions service imagesrepos/releng/gitlab-trusted-runner!20kindrobotwikifunctions-servicesmain
build: Setup GitLab CIrepos/abstract-wiki/wikifunctions/function-orchestrator!1kindrobotgitlab-cimain
Customize query in GitLab

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:10 PM
bzimport set Reference to bz1343.
bzimport added a subscriber: Unknown Object (MLST).

avarab wrote:

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,12270/5.65%2,108
-
[[2001]]---
}

Blah, blah, blah

Blah, blah, blah

avarab wrote:

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.

avarab wrote:

*** Bug 1598 has been marked as a duplicate of this bug. ***

avarab wrote:

*** Bug 1176 has been marked as a duplicate of this bug. ***

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:21 AM