mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
This was the reason for the large line widths - an extra linefeed after each li element
This commit is contained in:
parent
fa48de33c2
commit
854c23a751
2 changed files with 1 additions and 4 deletions
|
@ -2908,7 +2908,7 @@ function text_highlight($s,$lang) {
|
|||
$hl = Text_Highlighter::factory($lang);
|
||||
$hl->setRenderer($renderer);
|
||||
$o = $hl->highlight($s);
|
||||
$o = str_replace(" "," ",$o);
|
||||
$o = str_replace([" ","\n"],[" ",''],$o);
|
||||
|
||||
if($tag_added) {
|
||||
$b = substr($o,0,strpos($o,'<li>'));
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
.hl-main ol {
|
||||
line-height: 1.0;
|
||||
}
|
||||
.hl-main li {
|
||||
}
|
||||
|
||||
.hl-default {
|
||||
color: Black;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue