Skip to content

Commit

Permalink
fix: latex error escapes on ampersands
Browse files Browse the repository at this point in the history
  • Loading branch information
fearocanity authored Sep 3, 2024
1 parent a942b4e commit a7098b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions checkermain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
FRMENV_FBTOKEN="${1:-${FRMENV_FBTOKEN}}"
FRMENV_GIFTOKEN="${2:-${FRMENV_GIFTOKEN}}"

format_noerr(){ printf '$\\fbox{\\color{#126329}\\textsf{\\normalsize \\☑ \\kern{0.2cm}\\small %s }}$' "${*}" ;}
format_err(){ printf '$\\fbox{\\color{#82061E}\\textsf{\\normalsize \\⚠ \\kern{0.2cm}\\small %s }}$' "${*}" ;}
format_noerr(){ printf '$\\fbox{\\color{#126329}\\textsf{\\normalsize ☑ \\kern{0.2cm}\\small %s }}$' "${*}" ;}
format_err(){ printf '$\\fbox{\\color{#82061E}\\textsf{\\normalsize ⚠ \\kern{0.2cm}\\small %s }}$' "${*}" ;}
format_table(){ printf '| \x60%s\x60 | %s |\n' "${1}" "${2}" ;}

# Append Header
Expand Down Expand Up @@ -91,4 +91,4 @@ frames_check
token_check "${FRMENV_FBTOKEN}" "${FRMENV_GIFTOKEN}"
printf '\n</div>'
[[ "${err_state}" != "1" ]] || exit 1
: "success"
: "success"

0 comments on commit a7098b6

Please sign in to comment.