diff --git a/core/lib/Drupal/Core/Command/DbDumpCommand.php b/core/lib/Drupal/Core/Command/DbDumpCommand.php
index 9c889be..6951270 100644
--- a/core/lib/Drupal/Core/Command/DbDumpCommand.php
+++ b/core/lib/Drupal/Core/Command/DbDumpCommand.php
@@ -98,7 +98,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
       $output->setDecorated(FALSE);
     }
 
-    $output->writeln($this->generateScript());
+    $output->writeln($this->generateScript(), OutputInterface::OUTPUT_RAW);
   }
 
   /**
