diff -r 7d92c7ed8bd9d19cf4de558fd53fac7021985256 -r 1c4b0c50f37fbebb82bed3aac3af8f57cf140362 indefero/src/IDF/FileUtil.php
--- a/indefero/src/IDF/FileUtil.php Thu Mar 13 22:46:25 2014 -0500
+++ b/indefero/src/IDF/FileUtil.php Mon Mar 24 22:10:12 2014 -0500
@@ -84,8 +84,10 @@
$ext = self::$map[$fileinfo[2]];
else
$ext = "text";
-
- $content = '
';
+ if ($ext == "php" || $ext == "html" || $ext == "htm" || $ext == "js")
+ $content = '' . str_replace("<", "<", $content) . '
';
+ else
+ $content = '';
return Pluf_Template::markSafe($content);
}
diff -r 7d92c7ed8bd9d19cf4de558fd53fac7021985256 -r 1c4b0c50f37fbebb82bed3aac3af8f57cf140362 indefero/www/media/idf/css/syntaxhighlight/shCore.css
--- a/indefero/www/media/idf/css/syntaxhighlight/shCore.css Thu Mar 13 22:46:25 2014 -0500
+++ b/indefero/www/media/idf/css/syntaxhighlight/shCore.css Mon Mar 24 22:10:12 2014 -0500
@@ -261,4 +261,8 @@
/* Strings */
.syntaxhighlighter .asmstring
-{ color: #b0002d; font-weight: normal !important; }
\ No newline at end of file
+{ color: #b0002d; font-weight: normal !important; }
+
+body .syntaxhighlighter .line {
+ white-space: pre-wrap !important; /* make code wrap */
+}
\ No newline at end of file