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

jira show [ISSUE] shows raw text and markup #58

Open
mhogerheijde opened this issue May 6, 2020 · 0 comments
Open

jira show [ISSUE] shows raw text and markup #58

mhogerheijde opened this issue May 6, 2020 · 0 comments

Comments

@mhogerheijde
Copy link

When showing an issue in the console, the raw text is shown including markup characters.

Since the markup is minimally invasive, this isn't an issue most of the time. With URL's however, this can pose a bit of an issue.

In the raw text, a URL is represented by the markup [link text|URL]. When link text is not explicitly set by the user, the link text is the same as the URL, resulting in [URL|URL]. For example:

[http://example.org/foo|http://example.org/foo]

My console sees this as the URL http://example.org/foo|http://example.org/foo and sends my browser to a non-existing page.

It would be nice if jira-cli could pre-process the markup language and render a console friendly representation.

Note: when the user sets a link text that doesn't look like a URL, this markup doesn't cause an issue.

[Example|http://example.org/foo]

My console correctly sends me to http://example.org/foo when clicking the link.

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