Fixed problems with values in simple value in visual maps
This commit is contained in:
parent
d7db3fdc96
commit
f16628b8c1
|
@ -1167,6 +1167,7 @@ function visual_map_get_simple_value($type, $id_module, $period = SECONDS_1DAY)
|
|||
}
|
||||
|
||||
$value = preg_replace ('/\n/i','<br>',$value);
|
||||
$value = preg_replace ('/\t/i','	',$value);
|
||||
$value = preg_replace ('/\s/i',' ',$value);
|
||||
|
||||
return $value;
|
||||
|
|
|
@ -3317,8 +3317,11 @@ div#vc-controls img.vc-qr {
|
|||
margin-right: 8px;
|
||||
}
|
||||
div.simple_value > span.text > p,
|
||||
div.simple_value > a > span.text > p {
|
||||
font-family: monospace;
|
||||
div.simple_value > span.text > p > span > strong,
|
||||
div.simple_value > span.text > p > strong,
|
||||
div.simple_value > a > span.text p
|
||||
{
|
||||
font-family: monospace !important;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue