Skip to content

Conversation

@Broken-Admin
Copy link

Add newline character to replacements

@DXsmiley
Copy link
Owner

I don't think this change does what you think it does. It breaks in even the simplest of cases:
image

@Broken-Admin
Copy link
Author

I would quite frankly love to have a further explanation of the code, although I did what I assumed would worked an PR'd it.

@lasofeli
Copy link

Don't you designate line breaks in LaTeX through \\ and not \n?

@Broken-Admin
Copy link
Author

I'm not exactly a Latex-connoisseur. 🤷‍♂️ It only seemed logical for \n to designate a line break from a programmer perspective.

"•": " \\cdot "
}
"•": " \\cdot ",
"\n": " \\n "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work on systems that have \r\n newlines?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants