Template talk:space as

Protected edit request: Support for leading/trailing spaces
Please change the code for this template from: to: This will enable the template to support strings containing leading and trailing spaces, or consisting entirely of spaces. Currently all spaces not between printable characters are ignored:

With this change:

Thanks. -- FeRDNYC (talk) 17:45, 3 July 2021 (PDT)
 * P.S> I don't believe this will change any of the existing template formatting. (AFAICT they don't rely on being able to insert ignored whitespaces.) However, it would open up some new formatting options.
 * For example, Template:cpp/container/constructor_ordset now contains code like:


 * After this change, that could be written:


 * Which makes the alignment more obvious/explicit — arguably. (Personally, I'd skip the change in the lower declaration, it's not appreciably clearer. The two in the upper one, I find helpful.) -- FeRDNYC (talk) 02:15, 6 July 2021 (PDT)