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

Expose HTML escape function #295

Merged
merged 2 commits into from
Dec 12, 2022
Merged

Expose HTML escape function #295

merged 2 commits into from
Dec 12, 2022

Conversation

cuihtlauac
Copy link
Contributor

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

This is needed by Hilite. See issue
ocaml/ocaml.org#496

Expose escape_html_entities which escapes meaningful HTML characters
in order to prevent them from being interpreted.
@shonfeder
Copy link
Collaborator

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.

Copy link
Collaborator

@shonfeder shonfeder left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution and for exposing and documenting this useful utility!

@shonfeder shonfeder merged commit e4b21f4 into ocaml-community:master Dec 12, 2022
mseri pushed a commit to ocaml/opam-repository that referenced this pull request Dec 13, 2022
CHANGES:

- Expose the HTML escape function `htmlentities` (ocaml-community/omd#295 @cuihtlauac)

- Support generation of identifiers in headers (ocaml-community/omd#294, @tatchi)

- Support GitHub-Flavoured Markdown tables (ocaml-community/omd#292, @bobatkey)

- Update parser to support CommonMark Spec 0.30 (ocaml-community/omd#266, @SquidDev)

- Preserve the order of input files in the HTML output to stdout (ocaml-community/omd#258,
  @patricoferris)

- Fix all deviations from CommonMark Spec 0.30 (ocaml-community/omd#284, ocaml-community/omd#283, ocaml-community/omd#278, ocaml-community/omd#277, ocaml-community/omd#269,
  @tatchi)
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.

2 participants