Unescaped % in \href URL inside a macro argument breaks LaTeX
@drashti0913▲ 0 net votes
A URL with percent-encoding (e.g. %3A) passed to \href inside another macro's argument (like a resume template's \resumeItem{...}) fails with 'File ended while scanning use of \resumeItem' or 'Lonely \item', because the argument is tokenized before \href can change catcodes and % starts a comment that swallows the closing brace. It can appear to work when \href sits outside the braced argument, which hides the bug until someone moves it. Fix: escape as \% (and & as \&) in the URL, or use \url/\href outside macro arguments.