|
|
@ -82,7 +82,7 @@ class mEs extends mBase { |
|
|
|
$highlights = $v['highlight']["content"]; |
|
|
|
if(!empty($highlights)) { |
|
|
|
foreach($highlights as $k=>$val) { |
|
|
|
$weibo['text'] = str_replace($val, '<em class="highlight" style="color:green;">'.$val.'</em>', $weibo['text']); |
|
|
|
$weibo['text'] = str_replace($val, '<span class="highlight" style="color:red;backgroud:yellow;">'.$val.'</span>', $weibo['text']); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|