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
Empty destinations in link references #172
Comments
Removing the test for an empty URL in
I wonder, though: shouldn't we allow this kind of thing too as a way of specifying an empty link? |
Yeah, we could allow it for more consistency with inline links. |
|
In my opinion the question that should be answered is "Are empty links allowed in the references and inline links?". If the answer is yes, then both I don't see how
|
I once had the thought that an empty reference definition could be given a special meaning as an anchor, as illustrated by the following (which would have been really handy in spec.txt):
where this gets converted to:
I think it was that thought that made me hesitate about interpreting empty link definitions as defining regular links to empty URLs. |
I love the idea! |
Yep, same here. Links to the same document frequently appear in readme's for example, it'd be nice to avoid putting html tags there. |
Since
<>
is a valid link destination, a link reference should be able to have<>
as the destination.So I suggest to add the following test in link references:
May result obvious but some parsers (including the JS implementation) fail.
The text was updated successfully, but these errors were encountered: