symfony/AsseticBundle — comment on commit 3bde05ffbf8a6f28fb2b98b943d852e54db57854
File: DependencyInjection/Compiler/RouterResourcePass.php line 34
By Seldaek:

It should just addslashes() the string instead, or use a Yaml specific escaping if there is one available.