ocaml / omd

extensible Markdown library and tool in "pure OCaml"
ISC License
156 stars 45 forks source link

Expose HTML escape function #295

Closed cuihtlauac closed 1 year ago

cuihtlauac commented 1 year ago

Expose escape_html_entities which escapes meaningful HTML characters in order to prevent them from being interpreted.

This is needed by Hilite. See issue https://github.com/ocaml/ocaml.org/issues/496

shonfeder commented 1 year ago

Hi! Thank you for the fix!

I’ll review and check out the merge conflicts this week. I’ll be sure to get this in prior to cutting a new alpha release this week.