multilineReleaseNotes method
Implementation
String? multilineReleaseNotes(Element rawReleaseNotes) {
final innerHtml = rawReleaseNotes.innerHtml;
String? releaseNotes = innerHtml;
if (releaseNotesSpan.hasMatch(innerHtml)) {
releaseNotes = releaseNotesSpan.firstMatch(innerHtml)!.group(1);
}
// Detect default multiline replacement
releaseNotes = releaseNotes!.replaceAll('<br>', '\n');
return releaseNotes;
}