Merge pull request #5244 from jsangmeister/fix-final-print-template
Fix the error when creating a final print template after a title change recommendation
This commit is contained in:
commit
35d9fd9d8e
@ -2116,8 +2116,10 @@ export class DiffService {
|
||||
});
|
||||
|
||||
changes.forEach((change: ViewUnifiedChange) => {
|
||||
if (!change.isTitleChange()) {
|
||||
html = this.lineNumberingService.insertLineNumbers(html, lineLength, null, null, 1);
|
||||
html = this.replaceLines(html, change.getChangeNewText(), change.getLineFrom(), change.getLineTo());
|
||||
}
|
||||
});
|
||||
|
||||
html = this.lineNumberingService.insertLineNumbers(html, lineLength, highlightLine, null, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user