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

Comma inside link's description clear the rest of characters #388

Closed
shuLhan opened this issue Aug 28, 2019 · 2 comments · Fixed by #389
Closed

Comma inside link's description clear the rest of characters #388

shuLhan opened this issue Aug 28, 2019 · 2 comments · Fixed by #389

Comments

@shuLhan
Copy link
Contributor

shuLhan commented Aug 28, 2019

Hi @xcoulon ,

I would like to report some issue again with text inside link description. This is tested on master branch on commit 5321fe2.

== Environments

libasciidoc v0.2.1-0.20190826055451-5321fe2e765e

== Input

link:/[A, B, and C]

== Actual Output

<a href="/">A</a>

== Expected Output

<a href="/">A, B, and C</a>

I am sorry, I can't help with code, only reporting issues :/

@xcoulon
Copy link
Member

xcoulon commented Aug 29, 2019

@shuLhan thanks for reporting this issue, I'll look into it.

I am sorry, I can't help with code, only reporting issues :/

reporting is already helping ;)

@xcoulon xcoulon added this to the v0.3.0 milestone Aug 29, 2019
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Aug 31, 2019
supoort text with comma and without being surrounded
by double quotes if no other attribute is defined,
or require the (positional) text attribute to be
surrounded with double quotes if it contains commas
and there are other attributes in the link macro.

fixes bytesparadise#388

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon added a commit that referenced this issue Aug 31, 2019
supoort text with comma and without being surrounded
by double quotes if no other attribute is defined,
or require the (positional) text attribute to be
surrounded with double quotes if it contains commas
and there are other attributes in the link macro.

fixes #388

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Aug 31, 2019
updates bytesparadise#388

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Aug 31, 2019
updates bytesparadise#388

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
@xcoulon
Copy link
Member

xcoulon commented Aug 31, 2019

@shuLhan this should be fixed in master. Please let me know if it works for you now

xcoulon added a commit that referenced this issue Aug 31, 2019
updates #388

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants