diff --git a/app/lib/frontend/handlers/report.dart b/app/lib/frontend/handlers/report.dart index 13578e5f5..2caf58824 100644 --- a/app/lib/frontend/handlers/report.dart +++ b/app/lib/frontend/handlers/report.dart @@ -242,7 +242,7 @@ Future processReportPageHandler( if (isAppeal) 'Appealed case ID: ${form.caseId}', if (!isAppeal) 'Violated policy: https://pub.dev/policy', 'Subject: ${subject.fqn}', - 'Message:\n---\${form.message}\n---', + 'Message:\n---\n${form.message}\n---', 'This $kind will be processed by the moderation team.', ].join('\n\n'); diff --git a/pkg/pub_integration/test/report_test.dart b/pkg/pub_integration/test/report_test.dart index 52656e8c4..bb3bf5d67 100644 --- a/pkg/pub_integration/test/report_test.dart +++ b/pkg/pub_integration/test/report_test.dart @@ -73,6 +73,7 @@ void main() { final reportEmail2 = await supportUser.readLatestEmail(); expect(reportEmail1, contains('package:oxygen')); expect(reportEmail2, contains('package:oxygen')); + expect(reportEmail1, contains('Huston')); // verify moderation case final caseId = _caseIdExpr.firstMatch(reportEmail2)!.group(0)!;