aramk / crayon-syntax-highlighter

Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
https://wordpress.org/plugins/crayon-syntax-highlighter/
GNU General Public License v3.0
1.1k stars 248 forks source link

Strange Bug, content disappear after <pre lang="java">...</pre> #316

Open maxlam79 opened 8 years ago

maxlam79 commented 8 years ago

I have encountered a very strange bug. Crayon works fine under normal circumstances, but I have a draft post, which I convert it into a text file to be downloaded for testing: http://www.developerscrappad.com/crayon-bug.txt

In the file, after the <pre lang="java">// // </pre>

on line 201 to 203, the later part of the content will be missing from the actual page of the wordpress. If I limit the <pre lang="java"></pre> to a single line, it is fine...

Any pointers or fix is much appreciated. Thank you.

aramk commented 8 years ago

Hi there, This is what I can see:

screen shot 2015-11-19 at 12 00 42 pm