mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-06 16:39:08 +01:00
Revert "diffReview: use insertAdajentText instead of insertAdjacentHTML"
This reverts commit eb1cf4b0ba.
This commit is contained in:
1 file changed
+2
-2
@@ -734,12 +734,12 @@ export class DiffReview extends Disposable {
|
||||
|
||||
let lineContent: string;
|
||||
if (modifiedLine !== 0) {
|
||||
cell.insertAdjacentText('beforeend',
|
||||
cell.insertAdjacentHTML('beforeend',
|
||||
this._renderLine(modifiedModel, modifiedOptions, modifiedModelOpts.tabSize, modifiedLine)
|
||||
);
|
||||
lineContent = modifiedModel.getLineContent(modifiedLine);
|
||||
} else {
|
||||
cell.insertAdjacentText('beforeend',
|
||||
cell.insertAdjacentHTML('beforeend',
|
||||
this._renderLine(originalModel, originalOptions, originalModelOpts.tabSize, originalLine)
|
||||
);
|
||||
lineContent = originalModel.getLineContent(originalLine);
|
||||
|
||||
Reference in new issue
Block a user