fix(Delegate): short description replace by space

This commit is contained in:
Matthieu Bessat 2020-08-04 23:50:10 +02:00
parent 8231d58c82
commit da695ca0e2

View file

@ -83,7 +83,7 @@ export default class DelegateController {
// sanitize short description // sanitize short description
if (Utils.isStrUsable(proposedVersion.shortDescription)) { if (Utils.isStrUsable(proposedVersion.shortDescription)) {
proposedVersion.shortDescription = proposedVersion.shortDescription.replace(/\n/g, '') proposedVersion.shortDescription = proposedVersion.shortDescription.replace(/\n/g, ' ')
} }
// sanitize long description // sanitize long description