Ver a proveniência

Fixes tooltip bold markdown formatting

main
Eric Amodio há 2 anos
ascendente
cometimento
bcbcb55b28
2 ficheiros alterados com 2 adições e 2 eliminações
  1. +1
    -1
      src/views/nodes/autolinkedItemNode.ts
  2. +1
    -1
      src/views/nodes/pullRequestNode.ts

+ 1
- 1
src/views/nodes/autolinkedItemNode.ts Ver ficheiro

@ -51,7 +51,7 @@ export class AutolinkedItemNode extends ViewNode {
this.issue.type === IssueOrPullRequestType.PullRequest ? 'Pull Request' : 'Issue'
} \\#${this.issue.id} on ${this.issue.provider.name}"`;
const tooltip = new MarkdownString(
`${IssueOrPullRequest.getMarkdownIcon(this.issue)} [**${this.issue.title}**](${
`${IssueOrPullRequest.getMarkdownIcon(this.issue)} [**${this.issue.title.trim()}**](${
this.issue.url
}${linkTitle}) \\\n[#${this.issue.id}](${this.issue.url}${linkTitle}) was ${
this.issue.closed ? 'closed' : 'opened'

+ 1
- 1
src/views/nodes/pullRequestNode.ts Ver ficheiro

@ -68,7 +68,7 @@ export class PullRequestNode extends ViewNode {
const linkTitle = ` "Open Pull Request \\#${this.pullRequest.id} on ${this.pullRequest.provider.name}"`;
tooltip.appendMarkdown(
`${PullRequest.getMarkdownIcon(this.pullRequest)} [**${this.pullRequest.title}**](${
`${PullRequest.getMarkdownIcon(this.pullRequest)} [**${this.pullRequest.title.trim()}**](${
this.pullRequest.url
}${linkTitle}) \\\n[#${this.pullRequest.id}](${this.pullRequest.url}${linkTitle}) by [@${
this.pullRequest.author.name

Carregando…
Cancelar
Guardar