mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-15 02:48:37 -05:00
Removes single quote escaping as it is no longer needed
This commit is contained in:
@@ -287,9 +287,7 @@ export class BlameActiveLineController extends Disposable {
|
|||||||
}
|
}
|
||||||
} as IBlameConfig;
|
} as IBlameConfig;
|
||||||
|
|
||||||
// Escape single quotes because for some reason that breaks the ::before or ::after element
|
const annotation = BlameAnnotationFormatter.getAnnotation(config, commit, BlameAnnotationFormat.Unconstrained);
|
||||||
// https://github.com/Microsoft/vscode/issues/19922 remove once this is released
|
|
||||||
const annotation = BlameAnnotationFormatter.getAnnotation(config, commit, BlameAnnotationFormat.Unconstrained).replace(/\'/g, '\\\'');
|
|
||||||
|
|
||||||
// Get the full commit message -- since blame only returns the summary
|
// Get the full commit message -- since blame only returns the summary
|
||||||
let logCommit: GitCommit;
|
let logCommit: GitCommit;
|
||||||
|
|||||||
@@ -172,10 +172,6 @@ export class BlameAnnotationProvider extends Disposable {
|
|||||||
|
|
||||||
const hoverMessage = BlameAnnotationFormatter.getAnnotationHover(this._config, l, commit);
|
const hoverMessage = BlameAnnotationFormatter.getAnnotationHover(this._config, l, commit);
|
||||||
|
|
||||||
// Escape single quotes because for some reason that breaks the ::before or ::after element
|
|
||||||
// https://github.com/Microsoft/vscode/issues/19922 remove once this is released
|
|
||||||
gutter = gutter.replace(/\'/g, '\\\'');
|
|
||||||
|
|
||||||
lastSha = l.sha;
|
lastSha = l.sha;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@@ -256,9 +252,7 @@ export class BlameAnnotationProvider extends Disposable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const format = trailing ? BlameAnnotationFormat.Unconstrained : BlameAnnotationFormat.Constrained;
|
const format = trailing ? BlameAnnotationFormat.Unconstrained : BlameAnnotationFormat.Constrained;
|
||||||
// Escape single quotes because for some reason that breaks the ::before or ::after element
|
const gutter = BlameAnnotationFormatter.getAnnotation(this._config, commit, format);
|
||||||
// https://github.com/Microsoft/vscode/issues/19922 remove once this is released
|
|
||||||
const gutter = BlameAnnotationFormatter.getAnnotation(this._config, commit, format).replace(/\'/g, '\\\'');
|
|
||||||
const hoverMessage = BlameAnnotationFormatter.getAnnotationHover(this._config, l, commit);
|
const hoverMessage = BlameAnnotationFormatter.getAnnotationHover(this._config, l, commit);
|
||||||
|
|
||||||
let renderOptions: DecorationInstanceRenderOptions;
|
let renderOptions: DecorationInstanceRenderOptions;
|
||||||
|
|||||||
Reference in New Issue
Block a user