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

Preserve order of input file list #258

Merged
merged 2 commits into from
Nov 7, 2021

Conversation

patricoferris
Copy link
Contributor

I've been working on something that uses the omd binary to provide a text-only version of the markdown as a standalone html page and noticed omd x y z outputs HTML to stdout in the order z y x, I tried omd.1.3.1 and it outputs the HTML in the same order the files were given which I think is the more expected behaviour.

@shonfeder
Copy link
Collaborator

Makes sense! Thanks for the fix! :)

@shonfeder shonfeder enabled auto-merge (squash) November 7, 2021 15:12
@shonfeder shonfeder merged commit 2e121af into ocaml-community:master Nov 7, 2021
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