Skip to content

Commit

Permalink
make release notes GH-flavored-markdown hack support GH usernames wit…
Browse files Browse the repository at this point in the history
…h hyphens in them
  • Loading branch information
rbuels committed Feb 14, 2018
1 parent 04c30b0 commit 226442f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/format_release_notes.pl
Expand Up @@ -8,5 +8,5 @@
my $html = markdown( scalar <> );
$html =~ s!issue \#(\d+)!<a href="https://github.com/gmod/jbrowse/issues/$1">issue #$1</a>!g;
$html =~ s!pull ( request)?\#(\d+)!<a href="https://github.com/gmod/jbrowse/pull/$2">issue #$2</a>!g;
$html =~ s!(\W)\@(\w+)!$1<a href="https://github.com/$2">\@$2</a>!g;
$html =~ s!(\W)\@([-\w]+)!$1<a href="https://github.com/$2">\@$2</a>!g;
print $html;

0 comments on commit 226442f

Please sign in to comment.