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

wechatMarkdown cannot handle cascaded brackets #1

Open
zhongdongy opened this issue Jun 10, 2024 · 0 comments
Open

wechatMarkdown cannot handle cascaded brackets #1

zhongdongy opened this issue Jun 10, 2024 · 0 comments

Comments

@zhongdongy
Copy link
Contributor

The converter takes first open bracket and close with first ] that may not match with the actual URL component.

Input

This is an example [of cascaded brackets with [link inside](https://github.com) it].

Expected output

This is an example [of cascaded brackets with <url-text>link inside</url-text> it].

- <url-text-note>link inside</url-text-note><url>https://github.com</url>

Actual output

This is an example <url-text>of cascaded brackets with [link inside</url-text> it].

- <url-text-note>of cascaded brackets with [link inside</url-text-note><url>https://github.com</url>
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