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