Title: Valid JavaScript syntax not being parsed correct
Last modified: August 3, 2021

---

# Valid JavaScript syntax not being parsed correct

 *  Resolved [Chidi Okwudire](https://wordpress.org/support/users/sidiabale/)
 * (@sidiabale)
 * [4 years, 10 months ago](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.
   Any ideas what’s wrong?
    -  This topic was modified 4 years, 10 months ago by [Chidi Okwudire](https://wordpress.org/support/users/sidiabale/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvalid-javascript-syntax-not-being-parsed-correct%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [bindlegirl (a11n)](https://wordpress.org/support/users/bindlegirl/)
 * (@bindlegirl)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/valid-javascript-syntax-not-being-parsed-correct/#post-14996963)
 * Hi there!
 * I’m sorry we missed your question here earlier. I’m not able to see the problem
   you are referring to right now so I take it you managed to resolve it?
 *  Thread Starter [Chidi Okwudire](https://wordpress.org/support/users/sidiabale/)
 * (@sidiabale)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/valid-javascript-syntax-not-being-parsed-correct/#post-15013359)
 * Hi,
 * Thanks for your response, the issue still persists. Everything from line 27 on
   this page ([https://netsuite.smash-ict.com/learn-how-to-generate-meaningful-amortization-journal-entry-memo-lines/](https://netsuite.smash-ict.com/learn-how-to-generate-meaningful-amortization-journal-entry-memo-lines/))
   is marked in blue (i.e. treated as a comment) including non-comment lines.
 * Please take another look.
 *  [Gaurav](https://wordpress.org/support/users/gaurav984/)
 * (@gaurav984)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/valid-javascript-syntax-not-being-parsed-correct/#post-15018562)
 * Hi again,
 * Thanks for sharing that. I was able to reproduce the issue on my test website
   and have reported it to the developers.
 * You can follow the issue report here
 * [https://github.com/Automattic/syntaxhighlighter/issues/220](https://github.com/Automattic/syntaxhighlighter/issues/220)
 *  Thread Starter [Chidi Okwudire](https://wordpress.org/support/users/sidiabale/)
 * (@sidiabale)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/valid-javascript-syntax-not-being-parsed-correct/#post-15023674)
 * Thanks for the update. I’ve subscribed to updates on the bug in github. I hope
   it gets fixed soon 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Valid JavaScript syntax not being parsed correct’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/syntaxhighlighter_ffffff.svg)
 * [SyntaxHighlighter Evolved](https://wordpress.org/plugins/syntaxhighlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/syntaxhighlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/syntaxhighlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/syntaxhighlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntaxhighlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntaxhighlighter/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Chidi Okwudire](https://wordpress.org/support/users/sidiabale/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/valid-javascript-syntax-not-being-parsed-correct/#post-15023674)
 * Status: resolved