Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaTeX \endinput not respected #5233

Closed
anishathalye opened this issue Jan 19, 2019 · 1 comment
Closed

LaTeX \endinput not respected #5233

anishathalye opened this issue Jan 19, 2019 · 1 comment

Comments

@anishathalye
Copy link

tl;dr: pandoc doesn't respect \endinput in LaTeX.

Detailed steps to reproduce

Run the following:

printf 'foo\n\\endinput\nbar' | pandoc -f latex -t plain

Expected output: foo

Observed output: foo bar

Version information

$ pandoc --version
pandoc 2.5
Compiled with pandoc-types 1.17.5.4, texmath 0.11.1.2, skylighting 0.7.4
@anishathalye
Copy link
Author

anishathalye commented Jan 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants