WordPress:- Syntax Highlighting – Issue with shortcodes

Background

Yesterday evening, I noticed a little issue with WordPress “SyntaxHighlighter Code Block”.

It manifests when one tries to highlight very short code blocks.

Example

Alias

ll

Syntax

Image

Output


ll

Sample -01

Image

Output


ll

Sample -02

Image

Output


--ll alias
ll

Summary

See, even, WordPress barks at short code.

Do the Right Thang, add comments or other “noop” operations.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s