Git - git blame/timeline hover should not support HTML (#244729)

* Git - git blame hover should not support HTML

* Also fix timeline hover
This commit is contained in:
Ladislau Szomoru
2025-03-26 12:25:59 +01:00
committed by GitHub
parent 0ae60be7df
commit e9eea024f1
2 changed files with 0 additions and 2 deletions

View File

@@ -248,7 +248,6 @@ export class GitBlameController {
const markdownString = new MarkdownString();
markdownString.isTrusted = true;
markdownString.supportHtml = true;
markdownString.supportThemeIcons = true;
// Author, date

View File

@@ -57,7 +57,6 @@ export class GitTimelineItem extends TimelineItem {
setItemDetails(uri: Uri, hash: string | undefined, avatar: string | undefined, author: string, email: string | undefined, date: string, message: string, shortStat?: CommitShortStat, remoteSourceCommands: Command[] = []): void {
this.tooltip = new MarkdownString('', true);
this.tooltip.isTrusted = true;
this.tooltip.supportHtml = true;
const avatarMarkdown = avatar
? `![${author}](${avatar}|width=${AVATAR_SIZE},height=${AVATAR_SIZE})`