Skip to content

parsing PHP files with HTML #7

@spagu

Description

@spagu

How can I exclude PHP tags ?
once <?php tag is open then when there is a class->function it uses -> as a closing tag.

I did try

i18n-lint -i "<?php,style,script" -t "<\?php,\?>" file name

but it does not work.

How to prevent it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions