Skip to content

Commit

Permalink
fix: lang: PHP: Fixed syntax highlighting of short PHP tags in HTML s…
Browse files Browse the repository at this point in the history
…trings - fixes #1773

rn=

(integrated from master branch change 9.2.1-1772-gc93e3b8 by Mitchell <mitchellb@activestate.com>)
  • Loading branch information
mitchell-as committed Jul 7, 2016
1 parent 9b326a9 commit bdd97d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udl/udl/html2php.udl
Expand Up @@ -45,7 +45,7 @@ family markup
# Let the standard markup routine handle '<?'
# Here we check to see if there's a 'php' immediately following '<?'

pattern ENTERPHP = '<(?:\?(?:php\b|=|(?=\W))|%)'
pattern ENTERPHP = '<(?:\?(?:php\b|=)?|%)'

state IN_M_DEFAULT:
'<%' : paint(upto, M_STRING), paint(include, SSL_OPERATOR) => IN_SSL_DEFAULT
Expand Down

0 comments on commit bdd97d1

Please sign in to comment.