Allow inlining code blocks with double quotes
This commit is contained in:
@ -46,12 +46,12 @@ class SnipController extends AbstractController
|
||||
#[Route('/single/{snip}', name: '_single')]
|
||||
public function single(Snip $snip): Response
|
||||
{
|
||||
$snipParser = new Pipeline();
|
||||
$this->denyAccessUnlessGranted(SnipVoter::VIEW, $snip);
|
||||
|
||||
$snipService = $this->snipServiceFactory->create($snip);
|
||||
return $this->render('snip/single.html.twig', [
|
||||
'snip' => $snip,
|
||||
'content' => $snipParser->parse(($snipService->get())),
|
||||
'content' => (new Pipeline())->parse(($snipService->get())),
|
||||
'branch' => $snipService->getRepo()->getCurrentBranchName(),
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user