Skip to content

:class and :style keep the original expression as a part of the result after resolving value #1718

@adamkiss

Description

@adamkiss

Tempest version

2.9.1

PHP version

8.4

Operating system

macOS

Description

Suppose you do following:

<?php $class="warning"; ?>
<div :class="$class">…</div>

Expected result would be:

<div class="warning"></div>

actual result is:

<div class="$class warning"></div>

Steps to reproduce

Create a new component, try to include it, see the result.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions