diff --git a/utils/pdfattach b/utils/pdfattach index c2b3a1142..73f81f02f 100755 --- a/utils/pdfattach +++ b/utils/pdfattach @@ -13,7 +13,7 @@ progname=$(basename $0) function escape_tex_specialchars() { local txt=$1 - local res=$(echo "$txt" | sed -e "s%_%\\\_%g") + local res=$(echo "$txt" | sed -e "s%_%\\\_%g" -e "s%&%\\\&%g") echo "$res" }