Skip to content
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

Add support for PHP shell-style comments #172

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

rojtjo
Copy link
Contributor

@rojtjo rojtjo commented Mar 18, 2025

This PR ensures shell-style comments (# with a hash) are handled correctly. It ignores attributes, even when the closing ] is missing.

Before
Before

After
After

@brendt brendt merged commit 5a239a9 into tempestphp:main Mar 19, 2025
4 checks passed
@brendt
Copy link
Member

brendt commented Mar 19, 2025

Thanks!

@brendt
Copy link
Member

brendt commented Mar 19, 2025

Tagged: https://github.com/tempestphp/highlight/releases/tag/2.11.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants