Merge pull request #866 from Gregoire-M/master

Usage of OUTPUT_RAW to avoid javascript syntax error when dumping HTML
This commit is contained in:
William Durand 2016-06-10 13:30:55 +02:00 committed by GitHub
commit a009e97382

View File

@ -72,7 +72,7 @@ class DumpCommand extends ContainerAwareCommand
if ('json' === $format) { if ('json' === $format) {
$output->writeln(json_encode($formattedDoc)); $output->writeln(json_encode($formattedDoc));
} else { } else {
$output->writeln($formattedDoc); $output->writeln($formattedDoc, OutputInterface::OUTPUT_RAW);
} }
} }
} }