LearnWebCode
Member
Posted 2 years ago #
Hi,
I was using the lovely SyntaxHighlighter Evolved plugin on my HTML & CSS tutorial site. I just updated the plugin via the "auto one click" update feature inside WP, and now the plugin displays the code in a funny way. It starts a new line for every string of characters. See here for an example of the highlighted code:
http://learnwebcode.com/
I tried deactivating the plugin... even deleting it and re-installing it and it still does this. Any ideas? Prior to the update it worked perfectly, it really is an amazing plug-in.
Thanks,
Brad
LearnWebCode
Member
Posted 2 years ago #
I figured out the problem.
Comment #186 asks my same question:
http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
The solution is to remove any mention of "code" or "pre" elements in your CSS files. It causes problems with the updated version of the plug-in.
palimadra
Member
Posted 2 years ago #
LearnWebCode, I'm having the same problem. From your post it seems that if I substitute the "pre" and "code" elements in CSS with other different CSS elements I would not have a problem correct?
Thanks in advance.
Pali Madra