Skip to content

Commit

Permalink
Fix markdown table bug with pipe char ('|') (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasscharenbroch authored May 2, 2024
1 parent 41058bb commit ef3a6e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion who/make_who.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def by_date(data_name, user):
misc = user.get('misc', '')

row_entry = '\n| `%s` | %s | %s | %s | %s | %s | %s | %s |'
row_entry %= (username, name, start, end, coord_emoji, jobs, link, misc)
cols = (username, name, start, end, coord_emoji, jobs, link, misc)
cols = tuple(c.replace('|', '\|') for c in cols)
row_entry %= cols

markdown_file.write(row_entry)

Expand Down
4 changes: 2 additions & 2 deletions who/who.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@
| `reednel` | Reed Nelson | Fall 2020 | Spring 2023 | :white_check_mark: | Infinite Campus | https://reednel.com | |
| `winans` | Nick Winans | Spring 2021 | Spring 2023 | :white_check_mark: | Roblox, Keyboard Guy | https://nick.winans.io | Don't go to the UPL at 3am |
| `wallen` | Ben Wallen | Fall 2021 | Spring 2024 | :white_check_mark: | Cigna, Mastercard, Netflix | https://www.linkedin.com/in/wallenben/ | |
| `jasmith55` | Jake Smith | Fall 2023 | Spring 2024 | :x: | SWE Intern @ Abbvie, DSSD | Database Management Intern @ Quantum Real Estate Advisors | https://www.linkedin.com/in/jasmith55/ | WAGMI |
| `jasmith55` | Jake Smith | Fall 2023 | Spring 2024 | :x: | SWE Intern @ Abbvie, DSSD \| Database Management Intern @ Quantum Real Estate Advisors | https://www.linkedin.com/in/jasmith55/ | WAGMI |
| `mxudev` | Jerry Xu | Fall 2023 | Spring 2024 | :x: | | jerryxu.io | πŸ’€ |
| `scharenbroch` | Lucas Scharenbroch | Fall 2023 | Spring 2024 | :x: | Acuity Insurance | https://scharenbroch.dev | |
| `Mihir-Achyuta` | Mihir Achyuta | Spring 2023 | Spring 2024 | :white_check_mark: | SWE Intern @ Facebook, Rippling, ZipRecruiter | SWE @ ZipRecruiter | mihirachyuta.me | πŸ›Œ |
| `Mihir-Achyuta` | Mihir Achyuta | Spring 2023 | Spring 2024 | :white_check_mark: | SWE Intern @ Facebook, Rippling, ZipRecruiter \| SWE @ ZipRecruiter | mihirachyuta.me | πŸ›Œ |
| `davidteather` | David Teather | Fall 2024 | Spring 2024 | :white_check_mark: | Trendpop, Warner Music Group, Collab, CrowdStrike | https://www.linkedin.com/in/davidteather/ | 😎 |

0 comments on commit ef3a6e7

Please sign in to comment.