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

Nested anchor tags #112

Open
peduarte opened this issue Jan 21, 2019 · 1 comment
Open

Nested anchor tags #112

peduarte opened this issue Jan 21, 2019 · 1 comment

Comments

@peduarte
Copy link

x0 is generating nested anchor tags from md to html.

you can replicate by creating a md file with a h1:

// hello.md
# Hello world

And render this

// index.js
import React from 'react';
import Hello from "./hello.md";

export default class extends React.Component {
  render() {
    return Hello />
  }
}

Also happening on https://mdxjs.com

image
image

It doesn't happen on the x0 docs site though, maybe this was introduced in a later version?

Thanks!

@peduarte
Copy link
Author

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

No branches or pull requests

1 participant