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

fix misspelling of "thematic" causing render errors #73

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

jonklein
Copy link
Contributor

@jonklein jonklein commented Oct 8, 2024

Currently in master:

iex(9)> MDEx.parse_document!("---\nTest") |> MDEx.to_html
{:error,
 {:unknown_node_name, "themantic_break", "(<<\"themantic_break\">>, [], [])"}}

The markdown --- corresponds to a "thematic break" which should produce a <hr/> HTML tag, but a typo ("themantic") in the name causes an error when rendering the content.

This PR fixes the name and adds a test.

@leandrocp leandrocp merged commit ae53f6c into leandrocp:main Oct 8, 2024
4 checks passed
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