-
Notifications
You must be signed in to change notification settings - Fork 5
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
Escape HTML entities #5
Escape HTML entities #5
Conversation
When generating a <span> make sure HTML entities are character encoded in order to avoid being interpreted by the HTML engine. Character encoding code copied from GitHub repo ocaml/omd, file src/html.ml
Thanks! You need to add a |
Great, this looks good. Have you tested this in ocaml.org? Do you need a quick release (anything else you want upstream before cutting another one)? |
I haven't tested yet in ocaml.org and haven't noticed anything else at moment other md issues look omd-ish. You can release when convenient. |
Could you test it in Ocaml.org to make sure it works? (no rush!) |
Newbie question. Is this the right command in order to bring hilite 0.1.1 in my ocaml.org switch?
Edited: I was missing the 'v' in the tag name |
Depending on which opam-repository you are using, but hopefully the default has updated so you can do:
If you want to pin it I don't know if
|
Awesome, thanks! |
CHANGES: - Escape HTML entities (patricoferris/hilite#5, @cuihtlauac)
When generating a make sure HTML entities are character
encoded in order to avoid being interpreted by the HTML engine.
Character encoding code copied from GitHub repo ocaml/omd, file
src/html.ml