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

Complicated case with link titles with parenthesis #526

Closed
mity opened this issue May 29, 2018 · 1 comment
Closed

Complicated case with link titles with parenthesis #526

mity opened this issue May 29, 2018 · 1 comment

Comments

@mity
Copy link

mity commented May 29, 2018

A link title, variant in parenthesis, is described as follows in the spec. 0.28:

a sequence of zero or more characters between matching parentheses ((...)), including a ) character only if it is backslash-escaped.

That makes me wonder whether allowing un-escaped ( is good idea or whether it would be better to have some symmetry here.

Also cmark currently transforms

[link](url ((title))

into

<p><a href="url" title="(title">link</a></p>

Note the title contents having ( not matched with any ), escaped or not.

@jgm
Copy link
Member

jgm commented May 31, 2018 via email

@jgm jgm closed this as completed in 9dc64f1 Mar 17, 2019
robinst added a commit to commonmark/commonmark-java that referenced this issue Apr 12, 2019
robinst added a commit to commonmark/commonmark-java that referenced this issue Apr 12, 2019
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

2 participants