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

\begin{align} things displaying horizontally in print mode #52

Open
MareoRaft opened this issue Aug 13, 2017 · 2 comments
Open

\begin{align} things displaying horizontally in print mode #52

MareoRaft opened this issue Aug 13, 2017 · 2 comments

Comments

@MareoRaft
Copy link
Owner

Yes! Really they are! But why??

@MareoRaft
Copy link
Owner Author

This happens because \ in printable_html was resulting in .

So i changed the
\ --> \
regex to
\ --> \\
in the python. It seems things needed to be escaped TWICE.

I made this change in the REBASE branch, but I could easily make this change on the master branch too...

@MareoRaft
Copy link
Owner Author

To be perfectly clear, in helper.py in render_content function, the line SHOULD read

	string = re.sub(r'\\', '\\\\\\\\', string) # g (global) is default

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

No branches or pull requests

1 participant