1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 17:25:16 +03:00

Firmware flasher fix for the release notes show

This commit is contained in:
Ivan Efimov 2022-02-23 18:18:49 -06:00
parent 0e7e47d774
commit ce1ac33298

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)');
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');