Skip to content

Conversation

@joshgoebel
Copy link
Member

@joshgoebel joshgoebel commented Sep 22, 2024

Fixes #4115.

Changes

  • Support uppercase names inside PHP attribute blocks

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

@github-actions
Copy link

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

2 files changed

Total change +36 B

View Changes
file base pr diff
es/languages/php.min.js 2.62 KB 2.64 KB +18 B
languages/php.min.js 2.63 KB 2.64 KB +18 B

@github-actions
Copy link

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

5 files changed

Total change +55 B

View Changes
file base pr diff
es/core.min.js 8.18 KB 8.18 KB -3 B
es/highlight.min.js 8.18 KB 8.18 KB -3 B
es/languages/php.min.js 2.62 KB 2.65 KB +31 B
highlight.min.js 8.22 KB 8.22 KB -1 B
languages/php.min.js 2.63 KB 2.66 KB +31 B

@joshgoebel
Copy link
Member Author

Just needs a changes entry and rebase.

@wkania
Copy link
Contributor

wkania commented Oct 6, 2024

And maybe change one of the attributes to uppercase inside of test. #[ASSERT(value: 1234)]

@joshgoebel joshgoebel force-pushed the hljs-4115-improve-attribute-highlighting branch from afcfa29 to eb4b3d6 Compare October 31, 2024 21:27
@github-actions
Copy link

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

5 files changed

Total change +56 B

View Changes
file base pr diff
es/core.min.js 8.18 KB 8.18 KB -2 B
es/highlight.min.js 8.18 KB 8.18 KB -2 B
es/languages/php.min.js 2.62 KB 2.65 KB +31 B
highlight.min.js 8.22 KB 8.22 KB -2 B
languages/php.min.js 2.63 KB 2.66 KB +31 B

@github-actions
Copy link

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

4 files changed

Total change +60 B

View Changes
file base pr diff
es/core.min.js 8.18 KB 8.18 KB -1 B
es/highlight.min.js 8.18 KB 8.18 KB -1 B
es/languages/php.min.js 2.62 KB 2.65 KB +31 B
languages/php.min.js 2.63 KB 2.66 KB +31 B

@joshgoebel joshgoebel merged commit 48104f9 into main Oct 31, 2024
21 checks passed
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.

(PHP) Attributes with \ highlighted as comment instead of meta

4 participants