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

print a string with the $ character #14

Closed
dragonxtek opened this issue Jun 24, 2020 · 5 comments
Closed

print a string with the $ character #14

dragonxtek opened this issue Jun 24, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@dragonxtek
Copy link

I tried to print the character $, but I guess the app thinks it's a latex instruction. I tried escape characters such as \ but it didn't work. How can I print that character?
The application enters in a while when I tried to generate the qti file.

@gpoore
Copy link
Owner

gpoore commented Jun 24, 2020

This is probably a duplicate of #11, which is fixed in the dev version on GitHub. I haven't updated the version on PyPI yet.

@dragonxtek
Copy link
Author

dragonxtek commented Jun 24, 2020

I tried with $$ but it print the character $ twice.
Replacing $ with $ works fine.

@gpoore
Copy link
Owner

gpoore commented Jun 24, 2020

Can you give an example of what you are dealing with? There are cases where $ needs to be escaped as \$ (and this is only currently supported by the version on GitHub), but those cases should be rare. It is possible that there is still a bug related to $ processing.

@dragonxtek
Copy link
Author

I tried to print a bcrypt hash such as: $2y$12$2JkKk1Lw8OiHTxJQahd2aeJV2EU8ErnofJpL84BwZZVQHS5ngCCrm

@gpoore
Copy link
Owner

gpoore commented Jul 7, 2020

I had assumed that Python-Markdown handles escapes like \$, but it turns out that it does not. This is fixed now in the last commit.

@gpoore gpoore added the bug Something isn't working label Jul 7, 2020
@gpoore gpoore closed this as completed Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants