Error slash with Volt template

Hi Pro,

I error with \' with Asset phalcon. I do not specialize in the \

I want to show font end: var a = '<span class="aaa">A</span>';

{% do assets.collection('footer').addInlineJs('
    var a = '\'<span class="aaa">A</span>'\';
') %}
edited May '18
{% do assets.collection('footer').addInlineJs('
    var a = \'<span class="aaa">A</span>\';
') %}

Shouldn't it be like this?

No, this error

It' workking

{% do assets.collection('footer').addInlineJs('
    var a = "<span class=\"aaa\">A</span>";
') %}