add newlines around <pre> tags for pushed commits (#68506)
This commit is contained in:
parent
2ab097211a
commit
b619a60691
|
@ -486,7 +486,7 @@ def merge_and_push(issue, validate_msg, target_branch):
|
|||
except IndexError:
|
||||
raise click.UsageError('%r is not a local branch.' % target_branch)
|
||||
|
||||
notes = '<pre>%s</pre>' % repo.git.log('%s..' % target_branch)
|
||||
notes = '<pre>\n%s\n</pre>' % repo.git.log('%s..' % target_branch)
|
||||
|
||||
if validate_msg:
|
||||
for commit in get_commits(repo, target_branch):
|
||||
|
|
Loading…
Reference in New Issue