Skip to content

Commit 4629fb1

Browse files
author
Sevastyan Zhukov
authored
Wrap PR links in changelog comments in code blocks (#6872)
* Wrap changelog comments in code blocks * wrap links only
1 parent 09b5248 commit 4629fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/changelog/assemble_changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def get_changes(path):
1515
pr_number = file.partition('.')[0]
1616
pr_changes = open(path + file, 'r').read()
1717
if path.endswith('bugfixes/') or path.endswith('features/'):
18-
pr_link = ' [#' + pr_number + '](https://github.com/mapbox/mapbox-navigation-android/pull/' + pr_number + ')' + '\n'
18+
pr_link = ' `[#' + pr_number + '](https://github.com/mapbox/mapbox-navigation-android/pull/' + pr_number + ')`' + '\n'
1919
lines_with_description = []
2020
for line in open(path + file, 'r').readlines():
2121
if line.startswith('- '):

0 commit comments

Comments
 (0)