Skip to content

Conversation

@rparrett
Copy link
Contributor

@rparrett rparrett commented Feb 18, 2025

Objective

Tidy up this section of the tera template.

The output should be identical, except without the space between names and the following comma.

Solution

  • Replace manual array filtering with filter filter
  • Replace manual array index tracking with loop
  • Get rid of pesky space between names and comma
  • Replace spaces in names with non-breaking spaces so they don't get split onto two lines.

Before

Screenshot 2025-02-18 at 7 02 21 AM

After

Screenshot 2025-02-18 at 7 01 32 AM

@axlitEels
Copy link

Could also be great to somehow replace all spaces within each sponsor's name with NBSPs

@axlitEels
Copy link

axlitEels commented Feb 18, 2025

| replace(from=" ", to=" ") after both donor.names should do the job.

@mockersf mockersf added this pull request to the merge queue Feb 23, 2025
Merged via the queue into bevyengine:main with commit 26175d1 Feb 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants