Hello, I just fixed the code of this plugin to work with the latest vanilla2 RC3 code. Here is the patch
--- default.php.orig 2010-07-14 10:36:45.000000000 +0200
+++ default.php 2010-07-14 10:36:56.000000000 +0200
@@ -22,7 +22,7 @@
{
echo '<script type="text/javascript">
function updateSyntaxHighlight(){
- $("#Discussion .Comment .Body code").each(function(){
+ $(".Message code").each(function(){
var codeClass = "sh_"+$(this).attr(\'class\');
var codeText = $(this).html();
codeText = codeText.replace(/<br \/>/g, "\n");
Comments
--- default.php.orig 2010-07-14 10:36:45.000000000 +0200 +++ default.php 2010-07-14 10:36:56.000000000 +0200 @@ -22,7 +22,7 @@ { echo '<script type="text/javascript"> function updateSyntaxHighlight(){ - $("#Discussion .Comment .Body code").each(function(){ + $(".Message code").each(function(){ var codeClass = "sh_"+$(this).attr(\'class\'); var codeText = $(this).html(); codeText = codeText.replace(/<br \/>/g, "\n");
" and "\n" stuff: http://pastebin.com/YSu3PGNH