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

--- Comment #6 from [email protected] ---
(In reply to Roan Kattouw from comment #5)
> I haven't been able to reproduce this locally though. Parsoid seems to quash
> the newlines just fine, even if I try to generate them with {{echo}}.

This might be some weird tokenizer thing ... after a lot of trial-and-error, I
have a reduced test case where the tokenizer output subtly changes beyond a
threshold of newlines ... I'll continue on this later, but with a wikitext that
is 136 lines long (including table closing, ending, and other tags), the
tokenizer just generates a tr-tag without a td-tag => no p-br mess. At 138
lines long, the tokenizer seems to generate a td-tag after which then induces
p-br wrapping since all the newlines are considered "content".

https://gist.githubusercontent.com/subbuss/32c0fe97734381e1f026/raw/58c2815289a24a42753da14085518696bddb57e9/gistfile1.txt
has the p-br .. now try removing 2 of the empty lines at the beginning or end.
and boom, the p-brs disappear.

To be continued ... running out now ...

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

Reply via email to