-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP: Inline-Mode doesn't handle closing PHP-Tags properly #3170
Comments
This was the intended behavior since inline mode is just for php, without any closing and opening tags. |
I'm developing a CMS which provides the possibility to add custom PHP-contents which are edited via the CMS's control panel. As far as I know are some customers using self-designed forms which are based on a mix of PHP and HTML (or Smarty). For highlighting the HTML-code of those forms typing HTML outside the PHP-Section would be better (and can't cause problems escaping the In a nutshell: I'd need ACE's PHP-highlighting like it is (parsing closing and opening tags) but starting the highlighting from the first character to the closing PHP-Tag and then from another opening to closing tag (and so on). |
@nightwing Did you think about that yet or should I try to find a custom solution? |
one possible solution is to find a way of passing |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
If you set
inline: true
, PHP highlighting starts right from the beginning, but if you close the PHP-section/tag and try writing plain HTML, you'll still get a PHP-Highlighting (instead of un-highlighted text):see also: https://jsfiddle.net/b0fqo0tj/
The text was updated successfully, but these errors were encountered: