Syntax Error on empty anchor tag
See original GitHub issueBug 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
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:15 (7 by maintainers)
Top Results From Across the Web
javascript - Where are these empty anchor tags coming from?
Got it, simple syntax error and the browser was creating the empty <a></a> tags to try and compensate for the mismatched elements.
Read more >Empty Link - Equalize Digital
An Empty Link error means that one of the links present on the web page is empty or contains no text describing where...
Read more >Links in HTML documents - W3C
Syntax of anchor names; Nested links are illegal; Anchors with the id attribute; Unavailable and unidentifiable resources. Document relationships: the LINK ...
Read more >Bash syntax error when "else" follows an empty "then" clause
It seems that you want to do a no-op if the file is open so you should add a : , which is...
Read more ><a>: The Anchor element - HTML: HyperText Markup Language
Linking to an element on the same page ... Note: You can use href="#top" or the empty fragment ( href="#" ) to link...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I managed to simplify breaking code to this:
If any of these elements gets removed, the compilation is successful. 🤔
Note that #282, which is not related per se, might affect your debugging experience of this issue.