srchub

srchub Commit Details


Date:2014-03-24 22:10:12 (10 years 8 months ago)
Author:Natalie Adams
Branch:master
Commit:1a9c4132c2501b9d1f18fe0f06170697266b7ef2
Parents: 8a046e3c7e4feca1e868168e6c3dc34a057c42c2
Message:Updating css for word wrapping syntaxhighlighting Updating issues with syntaxhighlighting and html tags

Changes:

File differences

indefero/src/IDF/FileUtil.php
8484
8585
8686
87
88
87
88
89
90
8991
9092
9193
$ext = self::$map[$fileinfo[2]];
else
$ext = "text";
$content = '<div id="highlight"><script type="syntaxhighlighter" class="brush: ' . $ext . '">' . $content . '</script></div>';
if ($ext == "php" || $ext == "html" || $ext == "htm" || $ext == "js")
$content = '<div id="highlight"><pre class="brush: ' . $ext . '">' . str_replace("<", "&lt;", $content) . '</pre></div>';
else
$content = '<div id="highlight"><script type="syntaxhighlighter" class="brush: ' . $ext . '">' . $content . '</script></div>';
return Pluf_Template::markSafe($content);
}
indefero/www/media/idf/css/syntaxhighlight/shCore.css
261261
262262
263263
264
264
265
266
267
268
/* Strings */
.syntaxhighlighter .asmstring
{ color: #b0002d; font-weight: normal !important; }
{ color: #b0002d; font-weight: normal !important; }
body .syntaxhighlighter .line {
white-space: pre-wrap !important; /* make code wrap */
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06229s using 14 queries.