Page MenuHomePhabricator

No new line should be automatically added after closing </noinclude> tag
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

(Or look at this real case reproduction.)

What happens?:

Intro:
</noinclude># first list item
# second list item

is replaced with

Intro:

</noinclude>
# first list item
# second list item

This creates an extraneous empty paragraph in a dirty diff.

What should have happened instead?:
No new line character should be added, the wikitext should be preserved.

Maybe a follow up of T253703: <meta typeof="mw:Includes/..."> nodes are always serialized to wikitext with newlines around them?