mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Merge pull request #2828 from limonspb/marked_fix
Firmware flasher fix for the release notes show
This commit is contained in:
commit
7f59ed0c85
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ firmware_flasher.initialize = function (callback) {
|
|||
}
|
||||
|
||||
let formattedNotes = summary.notes.replace(/#(\d+)/g, '[#$1](https://github.com/betaflight/betaflight/pull/$1)');
|
||||
formattedNotes = marked(formattedNotes);
|
||||
formattedNotes = marked.parse(formattedNotes);
|
||||
$('div.release_info .notes').html(formattedNotes);
|
||||
$('div.release_info .notes').find('a').each(function() {
|
||||
$(this).attr('target', '_blank');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue