MDL-83298 core: Trim trailing whitespace on upgrade notes
This commit is contained in:
@@ -234,7 +234,7 @@ const getNotesForComponent = (types, headingLevel) => {
|
||||
|
||||
messageLines
|
||||
.forEach((line) => {
|
||||
upgradeNotes += ` ${line.trimEnd()}\n`;
|
||||
upgradeNotes += ` ${line}`.trimEnd() + `\n`;
|
||||
});
|
||||
upgradeNotes += `\n For more information see [${issueNumber}](https://tracker.moodle.org/browse/${issueNumber})\n`;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user