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

Link labels comparison issues #96

Closed
mity opened this issue Nov 3, 2019 · 1 comment
Closed

Link labels comparison issues #96

mity opened this issue Nov 3, 2019 · 1 comment
Labels

Comments

@mity
Copy link
Owner

mity commented Nov 3, 2019

(from #92 (comment))

Input:

[ab]: /foo
     
[a]  
[ab] 
[abc]

Actual output:

<p><a href="/foo">a</a>
<a href="/foo">ab</a>
<a href="/foo">abc</a></p>

Expected output:

<p>[a]
<a href="/foo">ab</a>
[abc]</p>
@mity
Copy link
Owner Author

mity commented Nov 3, 2019

Another issue is with whitespace in the labels.

Input:

[a b]: /foo
[a   b]

Actual output:

<p>[a   b]</p>

Expected output:

<p><a href="/foo">a   b</a></p>

(I.e. for comparison purposes, all whitespace sequences should be considered equivalent.)

@mity mity closed this as completed in e97d025 Nov 3, 2019
@mity mity changed the title Link reference labels match even when one label is smaller prefix of the other one. Link labels comparision issues Nov 3, 2019
@mity mity added the bug label Nov 3, 2019
@mity mity changed the title Link labels comparision issues Link labels comparison issues Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant