1
0
Fork 0
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:
Asizon 2022-02-24 10:43:44 +01:00 committed by GitHub
commit 7f59ed0c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ firmware_flasher.initialize = function (callback) {
} }
let formattedNotes = summary.notes.replace(/#(\d+)/g, '[#$1](https://github.com/betaflight/betaflight/pull/$1)'); 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').html(formattedNotes);
$('div.release_info .notes').find('a').each(function() { $('div.release_info .notes').find('a').each(function() {
$(this).attr('target', '_blank'); $(this).attr('target', '_blank');