docz: Syntax Error on empty anchor tag

Bug Report

I had originally report this to the mdx project but they weren’t able to recreate this issue so I’m opening the issue against docz now to see if it may be the usage of mdx here.

Syntax Error: SyntaxError: /Users/wellingtoncordeiro/Documents/projects/my-proj/CHANGELOG.md: Expected corresponding JSX closing tag for <MDXTag> (24:0)

  22 | Features
  23 |
> 24 | </a>
     | ^
  25 | Change Log
  26 |  (2018-09-04)
  27 |


 @ ./docs/changelog.mdx 9:0-40 22:25-34

Example MD that broke when parsed.

# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="11.0.1"></a>
## [11.0.1](https://gitlab.com/group/proj/compare/v11.0.0...v11.0.1) (2018-09-10)


### Bug Fixes

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

I managed to simplify breaking code to this:

[foo](#)

<a></a>

<a></a>

[foo](#)

<a></a>

If any of these elements gets removed, the compilation is successful. 🤔