Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rmolodyko opened this issue Nov 23, 2015 · 0 comments
Open

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

rmolodyko opened this issue Nov 23, 2015 · 0 comments

Comments

@rmolodyko
Copy link
Contributor

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 //....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant