https://bugzilla.wikimedia.org/show_bug.cgi?id=69240

ssas...@wikimedia.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |High
            Summary|Parsoid adds an empty <pre> |Investigate adding category
                   |tag after header banner     |link (and any other
                   |                            |rendering-transparent
                   |                            |wikitext tags) to the
                   |                            |"empty-line" concept in
                   |                            |Parsoid code

--- Comment #1 from ssas...@wikimedia.org ---
Related bug from my notes from recent visual diff testing:

1. Consider this snippet.
   In Parsoid, the whitespace and the category are wrapped in a p-tag
   which occupies non-zero screenspace. In PHP, looks like it disappears.
----------------------------
{{Aligudarz County}}


[[Category:Populated places in Aligudarz County]]

{{Aligudarz-geo-stub}}
---------------------------

So, the general bug is that Parsoid doesn't know to suppress
rendering-transparent tags when it comes to pre-, paragraph-, and possibly
other transformations. 

We already have support for "empty-line" handling. If we include category-links
as part of empty-lines, that might do the trick without having to add any
special cases elsewhere.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to