fix the error when creating a final print template after a title change recommendation
This commit is contained in:
parent
3ad8944b9c
commit
70fc5a69ab
@ -2116,8 +2116,10 @@ export class DiffService {
|
||||
});
|
||||
|
||||
changes.forEach((change: ViewUnifiedChange) => {
|
||||
html = this.lineNumberingService.insertLineNumbers(html, lineLength, null, null, 1);
|
||||
html = this.replaceLines(html, change.getChangeNewText(), change.getLineFrom(), change.getLineTo());
|
||||
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