Skip to content

Error when compressing views inline <?php with comments #37

@rmolodyko

Description

@rmolodyko

When we comment an html block in PHPStorm it also add comments to inline PHP code:

<!--<section id="members" class="notlikeblock" style="height: 752px;    margin-top: -85px;">-->
<!--        <img class="bg-icon k-lips" src="--><?php //src('www/img/yellow_eyes.png') ?><!--" style="top: 107px;right: 20%;">-->
<!--        <img class="bg-icon k-trands" src="--><?php src('www/img/yellow_trends.png') ?><!--" style="bottom: 90px;right: 35%;">-->
<!--        <div class="wrapper">-->
<!--            <h2>ПЕРЕМОЖЦІ ТРЕНДУ #wowbrowwatsonsua</h2>-->
<!--            --><?php iv('client_wins'); ?>
<!---->
<!--            <div class="link-block centered">-->
<!--                <a class="white-link" href="--><?php url_base('members'); ?><!--">ВСІ УЧАСНИЦІ</a>-->
<!--            </div>-->
<!--        </div>-->
<!--    </section>-->

This causes fatal error due to removing closing ?> becouse of //....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions