Hi all,
I have a layout in which i call
<?= $this->render('/common/main-sidebar'); ?>
in this main-sidebar.php i have somewhere in the space:
Html::img('@web/images/logo-panel/logo.png', [
'alt' => '',
'class' => 'img-responsive',
'data-src' => '@web/images/logo-panel/logo.png',
'width' => '58',
'height' => '40'
])
then Yii generates
<img class="img-responsive" src="@web/images/logo-panel/logo.png" width="58" height="40" alt="" data-src="@web/images/logo-panel/logo.png">
In fact Yii in his great generosity doesn’t interpret the @.
Do you know how bypassing this issue ?
Thx