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

Reserializing of inline links back to MDX result in improper JSX #1169

Closed
johno opened this issue Jul 22, 2020 · 2 comments
Closed

Reserializing of inline links back to MDX result in improper JSX #1169

johno opened this issue Jul 22, 2020 · 2 comments
Labels
💪 phase/solved Post is done 🐛 type/bug This is a problem 💎 v2 Issues related to v2
Milestone

Comments

@johno
Copy link
Member

johno commented Jul 22, 2020

Input

https://styled-components.com

AST

            {
              "type": "link",
              "title": null,
              "url": "https://styled-components.com",
              "children": [
                {
                  "type": "text",
                  "value": "https://styled-components.com",
                  "position": {
                    "start": {
                      "line": 79,
                      "column": 1,
                      "offset": 1913
                    },
                    "end": {
                      "line": 79,
                      "column": 30,
                      "offset": 1942
                    },
                    "indent": []
                  }
                }
              ],

Actual output (back in MDX form)

<https://styled-components.com/>

Expected output

https://styled-components.com

or

[https://styled-components.com](https://styled-components.com)
@wooorm
Copy link
Member

wooorm commented Jul 22, 2020

@johno I think this can be closed?

@johno
Copy link
Member Author

johno commented Jul 22, 2020

Ah, yep!

@johno johno closed this as completed Jul 22, 2020
@johno johno added this to the v2 milestone Jul 22, 2020
@wooorm wooorm added ⛵️ status/released and removed 🙆 yes/confirmed This is confirmed and ready to be worked on labels Jul 23, 2020
@wooorm wooorm added the 💪 phase/solved Post is done label Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 phase/solved Post is done 🐛 type/bug This is a problem 💎 v2 Issues related to v2
Development

No branches or pull requests

2 participants