Commit

d2049e6

okay guys so the code block below is highlighted wrong on purpose 😅
php
$query = <<<SQL
    SELECT * FROM Book -- runs on MySQL and SQLite
    SQL;
the comment loses its color at "My" because the highlighter thinks the SQL inside MySQL closes the heredoc. found it from @fil-on's heredoc question, fix is here: https://github.com/tempestphp/highlight/pull/243
GitHubfix: only end a PHP heredoc where its label starts a line by sulimanbenhalim · Pull Request #243 · tempestphp/highlighta heredoc ends at the first spot its label is followed by whitespace or ; or ) even mid-line so in $query = <<<SQL SELECT * FROM Book -- runs on MySQL and SQLite SQL; the sql stops...

commit d2049e6