Change string to single quote
ffflabs opened this issue · 1 comments
ffflabs commented
There are several html string in the controllers using double quotes.
Some of them begin or end with "\n". This newline character must use double quotes, so the solution would be to transform
$html = "This is a sentence \n";
to
$html = 'This is a sentence ' . "\n";
Eventually, this would help to get rid of unnecesary double quotes.
ffflabs commented
This would also be mitigated as we transform more text blocks into twig templates.