diff -r 913d86aa4ab2a1a90bc5f3224992a1e70f8eb30a -r 7d92c7ed8bd9d19cf4de558fd53fac7021985256 indefero/src/IDF/FileUtil.php --- a/indefero/src/IDF/FileUtil.php Thu Mar 13 20:34:50 2014 -0500 +++ b/indefero/src/IDF/FileUtil.php Thu Mar 13 22:46:25 2014 -0500 @@ -38,7 +38,7 @@ 'skin', 'sln', 'svc', 'vala', 'vb', 'vbproj', 'vbs', 'wsdl', 'xhtml', 'xml', 'xsd', 'xsl', 'xslt'); - public static $map = array("h" => "cpp", "hpp" => "cpp", "rc"=>"text", "sh"=>"bash", "cs"=>"csharp"); + public static $map = array("cxx" => "cpp", "h" => "cpp", "hpp" => "cpp", "rc"=>"text", "sh"=>"bash", "cs"=>"csharp"); public static $syntaxhighlightext = array("as3", "cf", "cpp", "c", "css", "pas", "diff", "patch", "erl", "java", "jfx", "js", "pl", "php", "py", "rb", "sass", "scss", "scala", "sql", "vb", ); @@ -63,6 +63,7 @@ */ public static function highLight($fileinfo, $content) { + $pretty = ''; if (self::isSupportedExtension($fileinfo[2])) { $pretty = ' prettyprint'; @@ -83,7 +84,8 @@ $ext = self::$map[$fileinfo[2]]; else $ext = "text"; - $content = ''; + + $content = '
'; return Pluf_Template::markSafe($content); } diff -r 913d86aa4ab2a1a90bc5f3224992a1e70f8eb30a -r 7d92c7ed8bd9d19cf4de558fd53fac7021985256 indefero/src/IDF/templates/idf/wiki/updatePage.html --- a/indefero/src/IDF/templates/idf/wiki/updatePage.html Thu Mar 13 20:34:50 2014 -0500 +++ b/indefero/src/IDF/templates/idf/wiki/updatePage.html Thu Mar 13 22:46:25 2014 -0500 @@ -4,7 +4,7 @@ {if $preview}