diff: Fix spacing issue
This commit is contained in:
parent
76a12a1b9f
commit
69fd5c21a2
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ def generate_git_tex_diff(texfile, bibliography, revision):
|
|||
|
||||
line = line.rstrip()
|
||||
if document_started: # diff results in preamble
|
||||
line = addition_re.sub(r'\\color{diffgreen}\1 \\color{black}', line)
|
||||
line = deletion_re.sub(r'\\color{diffred}\1 \\color{black}', line)
|
||||
line = addition_re.sub(r' \\color{diffgreen}\1 \\color{black}', line)
|
||||
line = deletion_re.sub(r' \\color{diffred}\1 \\color{black}', line)
|
||||
|
||||
else:
|
||||
if '\\begin{document}' in line:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue