Content deleted Content added
→Trim input's newlines?: new topic |
→Trim input's newlines?: question for clarification |
||
Line 235:
</syntaxhighlight>
This causes an extra newline to be inserted before and after the template's part inside the test case frame. It would be wonderful if this module would trim the input's newlines. [[User:Aaron Liu|<span style="color:#0645ad">Aaron Liu</span>]] ([[User talk:Aaron Liu#top|talk]]) 15:52, 8 August 2024 (UTC)
: Do you mean to trim newlines in a way that would make <syntaxhighlight lang="wikitext">
{{test case nowiki|<nowiki>
{{wrapper template top}}
{{__TEMPLATENAME}}
{{wrapper template bottom}}
</nowiki>}}
</syntaxhighlight>
:equivalent to
: <syntaxhighlight lang="wikitext">
{{test case nowiki|<nowiki>{{wrapper template top}}
{{__TEMPLATENAME}}
{{wrapper template bottom}}</nowiki>}}
</syntaxhighlight>
:? That is, trim newlines which are right next to the outer pair of {{tag|nowiki}} tags. —[[User:Andrybak|andrybak]] ([[User talk:Andrybak|talk]]) 22:47, 8 August 2024 (UTC)
|