Could you let me know what plugin you use to insert code snippets into your posts, and what shortcode that plugin uses?
Could you also post a link to one of the posts where you experienced issues so I can take a closer look and see about getting this fixed?
If you want your site URL to remain private, you can also contact us via this contact form:
http://jetpack.com/contact-support/
Thanks!
Thread Starter
iarsov
(@iarsov)
Hi Jeremy,
The issue occurs only when the post is sent via email (as new post notification).
On the site all is fine.
I write the shortcodes manually. I used [plain] shortocode to post code samples.
Also I use SyntaxHighlighter Evolve plugin.
After I switched the shortcode to [code] the issue disappeared.
Looks like [plain] shortcode is not supported.
Thanks,
Ivica
Thanks for the extra details. It might indeed be best to use [code]
, [sourcecode]
, or [source]
shortcodes with the SyntaxHighlighter Evolved plugin. [plain]
appears to be a fallback that is used when a shortcode format is invalid.
When using the plugin, the following format is usually recommended:
[code language="php"]
// Your code
[/code]
I hope this clarifies things a bit!