Skip to content

Commit

Permalink
fix: Sanitize tr failed
Browse files Browse the repository at this point in the history
  • Loading branch information
blissd committed Mar 10, 2024
1 parent 7c3df4c commit b1395c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
- name: Sanitize
# Some unicode characters don't cause problems for the PDF.
# Strip cutesy icons.
# Convert em-dashes to hyphens.
# Convert curly quotes to straight quotes.
# Convert em-dashes to hyphens.
run: |
< README.md tr --delete 'πŸͺͺβœ…πŸŒŸπŸ§‘β€πŸ’»πŸ‘¨β€πŸŽ“πŸ…' > README2.md
< README2.md tr 'β€”β€™β€œβ€' '-\'""' > README3.md
mv README3.md README.md
< README2.md tr "’" "'" > README3.md
< README3.md tr 'β€œβ€' '""' > README4.md
< README4.md tr 'β€”' '-' > README5.md
mv README5.md README.md
- name: Build PDF from Markdown
uses: BaileyJM02/[email protected]
with:
Expand Down

0 comments on commit b1395c1

Please sign in to comment.