File: issue-9.php

package info (click to toggle)
php-elisp 1.24.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,220 kB
  • sloc: lisp: 7,069; php: 5,343; makefile: 58; sh: 10
file content (16 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

/**
 * Github Issue:    https://github.com/emacs-php/php-mode/issues/9
 *
 * The HTML below contains a single quote as part of "We'll".  The bug
 * for issue 9 shows how the presence of this single quote makes
 * php-mode think that the rest of the line constitutes a quoted
 * string, thus messing up the syntax highlighting of the HTML.  If
 * php-mode is working properly then the contents of the tag should
 * appear in the same highlighting as the initial 'We', and the
 * closing </a> tag should match the highlighting of its opening tag.
 */

?>
<a href="somewhere">We'll go there</a>