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

[Bug] Self-closing HTML tags break docs parser #5083

Open
joshknowles opened this issue Nov 3, 2024 · 0 comments
Open

[Bug] Self-closing HTML tags break docs parser #5083

joshknowles opened this issue Nov 3, 2024 · 0 comments
Assignees
Labels
fern docs Improvements to the Fern Docs product

Comments

@joshknowles
Copy link

Describe the Bug

Adding a self-closing HTML tag seems to break the docs parser.
For example, including the tag <br> without the / will cause the following error Failed to read docs configuration. Rendering last successful configuration.

Replacing this tag with <br/> works as expected.

Information to Reproduce

Add a <br> into one of your docs and try and run local doc server.

CLI Version

0.44.11

Actual Behavior

Server crashes with very little context as to why.

Expected Behavior

Few things that would be nice

  1. Allow valid HTML5 self-closing tags
  2. Catching this in fern check
  3. Better errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fern docs Improvements to the Fern Docs product
Development

No branches or pull requests

2 participants