Closed tobias-93 closed 8 years ago
Do you have any sample so we can add it to the tests?
Thanks,
params: fields: name: formOptions: label: "How 'ya doing?"
This could be used in the no_modifications
string to be tested.
Mark the double quotes versus the single quote.
:+1:
@tobias-93 Let me know if this is better now,
@sescandell Yes, thank you!
Actually it's not OK, a commit is coming
The
stripslashes
in https://github.com/symfony2admingenerator/GeneratorBundle/blob/master/Twig/Extension/EchoExtension.php#L64 causes slashes to be stripped in strings where they should be kept (for instance in a string with apostrophes). This can cause a string to be terminated too early, causing syntax errors. @sescandell any thoughts on a better way? This is too rigorous.