Automattic / Automattic/syntaxhighlighter
Valid JavaScript syntax not being parsed correct
- Dominant language
- CSS
- Stars
- 251
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
Reported here https://wordpress.org/support/topic/valid-javascript-syntax-not-being-parsed-correct
On the code block on this page ( https://netsuite.smash-ict.com/learn-how-to-generate-meaningful-amortization-journal-entry-memo-lines/) , the Javascript syntax highlighting breaks from line 26 for no obvious reason.
### Screenshot / Video

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the break on the linked page and isolating the JavaScript code block around line 26. Locate the JavaScript syntax-highlighting entry point and any related tests, then verify that the complete valid snippet is highlighted consistently without regressing existing syntax handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100