tests/languages/markup+php


Log

Author Commit Date CI Message
Tom Pavelec 38808e64 2020-10-13T14:03:42 PHP: Added support for PHP 7.4 + other major improvements (#2566)
Michael Schmidt 289ddd9b 2019-02-28T21:56:01 PHP: Fixed closing tag issue (#1652) This fixes that PHP's closing tag (`?>`) was detected inside strings and comments.
Golmote 5f9c078a 2018-03-25T13:46:42 Make ERB, Handlebars, PHP and Smarty highlight properly in NodeJS (#1367)
Andreas Rohner 36bc560e 2017-05-13T09:34:37 Check for possible pre-existing marker strings in PHP
Andreas Rohner 3ce74880 2017-03-30T18:39:16 Add support for the <?= delimiter in PHP
Andreas Rohner 0a00d7f7 2017-02-10T17:10:19 Fix the PHP language This patch is an attempt to fix the PHP language, when it is combined with markup. The problem is, that markup has a higher priority than all other tokens. This leads to weird errors, where HTML tags are highlighted inside of comments #197. One solution to this was to set the `greedy` flag for the comment token, but this leads to far worse errors like #1097. This patch should fix both issues #197 and #1097, by switching the grammar to markup on the fly. One potential problem is, that it relies on the `<?php` tag to detect if markup is present. So if a PHP file contains only markup and no PHP code at all, the result will look broken.
Golmote c1a0c1bd 2016-07-11T20:37:47 Added TestCase.runTestsWithHooks + add missing tests. Updated documentation for test suite.
Golmote afe78bd9 2015-08-29T23:17:12 Add tests for PHP