coauthor icon indicating copy to clipboard operation
coauthor copied to clipboard

`\href` in math mode

Open diomidov opened this issue 3 years ago • 1 comments

What's wrong?

\href doesn't work correctly in math mode. Coauthor's custom parser replaces it with <a href> and then the real LaTeX parser doesn't know what to do with html.

How to Reproduce

https://coauthor.csail.mit.edu/coauthor-dev/m/K5EnT5QC9EgusQh5H

Screenshots

image

Context

  • Device/OS: GNU/Linux
  • Browser: Firefox
  • Coauthor server: coauthor.csail.mit.edu

diomidov avatar Mar 10 '21 16:03 diomidov

Nice catch. Weird. Clearly the math extraction should go before \href processing. I wonder why I did it in this order... Maybe in case there are $s in the URLs?

edemaine avatar Mar 10 '21 16:03 edemaine