mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-02 21:36:14 +03:00
Usage of OUTPUT_RAW to avoid javascript syntax error when dumping HTML API doc. Fixes issue #864.
This commit is contained in:
parent
6d16486abb
commit
05d3a51259
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class DumpCommand extends ContainerAwareCommand
|
|||
if ('json' === $format) {
|
||||
$output->writeln(json_encode($formattedDoc));
|
||||
} else {
|
||||
$output->writeln($formattedDoc);
|
||||
$output->writeln($formattedDoc, OutputInterface::OUTPUT_RAW);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue