Screenshot
Transclusion dialog shouldn't render empty text nodes.
Example: try modifying any of the table cell templates at https://nl.wikipedia.org/wiki/Gebruiker:Ad_Huikeshoven/jh?uselang=en&veaction=edit#Prestatietabel
The transclusion dialog will show an empty text node at the end. That node can be removed, which results in no changes in wikitext.
(Re-rendering of these table cell templates is broken, by the way, filed separately as bug 67856.)
(Found when playing with bug 67850.)
Version: unspecified
Severity: normal
URL: https://nl.wikipedia.org/wiki/Gebruiker:Ad_Huikeshoven/jh?uselang=en&veaction=edit#Prestatietabel
Attached: