diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php
index d97d51264f..c78c4d8adf 100755
--- a/pandora_console/include/ajax/module.php
+++ b/pandora_console/include/ajax/module.php
@@ -275,12 +275,16 @@ if ($get_module_detail) {
// Detect string data with \n and convert to
's
$datos = $row[$attr[0]];
- // Because this *SHIT* of print_table monster, I cannot format properly this cells
- // so, eat this, motherfucker :))
- $datos = preg_replace("/\n/", "", $datos);
+ $datos = preg_replace ('/', '<', $datos);
+ $datos = preg_replace ('/>/', '>', $datos);
+ $datos = preg_replace ('/\n/i','
',$datos);
+ $datos = preg_replace ('/\s/i',' ',$datos);
+ $datos_format = "