Skip to content

Volt Replacing Single Quote with Double Quote  #16019

Closed
@kgrammer

Description

@kgrammer

I am setting the following variables in my VOLT file:

 {% set login_gtm_class = 'class="bl_ga_tag"' %}

This was working as expected in RC2 and produced:

    <?php $login_gtm_class = 'class="bl_ga_tag"'; ?>

But now in RC3 I'm getting the following:

    <?php $login_gtm_class = "class="bl_ga_tag""; ?>

The code is replacing the single quotes with double quotes which is breaking everything.

The original behavior needs to be returned.

Details

  • Phalcon version: 5.0.0RC3
  • PHP Version: 8.1.8 (Zend Engine v4.1.8)
  • Operating System: Ubuntu 22.04
  • Installation type: Compiling from source
  • Zephir version (if any): 0.16.0
  • Server: Apache
  • Other related info (Database, table schema): N/A

Additional context
Nothing more is required.

Metadata

Metadata

Assignees

Labels

5.0The issues we want to solve in the 5.0 releasebugA bug reportstatus: mediumMedium

Type

No type

Projects

Status

Released

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions