• Resolved jbradt

    (@jbradt)


    If I have the following code snippet

    add_action('wp_footer', function() {
    ?>
    <div>Hello</div>
    <?php
    });

    In older versions of the plugin, it would properly recognize that <div>Hello</div> was HTML and would syntax highlight it accordingly, but now it seems to think that piece of code is PHP still. Can this be fixed?

    • This topic was modified 3 years ago by jbradt.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTML syntax highlighting in PHP code snippets is broken’ is closed to new replies.