-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prism throws strange lines of code #379
Comments
@mallakas I had the same issue too, it seems that prism doesn't like the |
Could you link to an online testcase? Is it reproducible in the test drive page? Which language definition is this about? |
@Gexos , thank you your solution fixed my issue, it doesn't throw these lines anymore. Thank you |
Have you tried opening an issue with Ghost? |
Hi all, I think I figured out the issue to this problem. I believe this is being caused by Cloudflare's email protection. We had the same problem recently and I couldn't figure out why the exact same code didn't cause the same results on my local system. Looking at the source code, I noticed that a You can disable the e-mail address obfuscation in the Cloudflare control panel under "Security Settings". Hope that helps! |
Ha! Nicely done @reinink. |
@philsturgeon Thanks ;) Just an update for anyone else who arrives here, I've successfully disabled email address obfuscation in Cloudflare, and then forced a cache refresh, and now things are good. See this doc for more information on purging the cache. |
well done @reinink , I'm using cloudflare too and I disabled email address obfuscation, and the code works fine, of course I do need the obfuscation too, so if cloudflare don't mess with anything else, I will just use the html code trick. I will post this solution at the Ghost forum also, since I opened an issue there. Thank you! |
Brilliant @reinink , I feel bad now that I almost "blamed" Prism. :) |
Great news, that you were able to resolve the issue. @mallakas everything is working for you now? Can we close this issue? |
Closing, see #425 |
I apology for the vague title, but I have a strange behavior when I right some python code, after I type some code in my blog (powered by Ghost and NodeJs) I see these lines that of course I didn't typed.
I have to add also that this happens after a line that has an email inside, any help will be much appreciated.
The text was updated successfully, but these errors were encountered: