pre {
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
/* width: 99%; */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
';
}
public function write($message, $mode = false)
{
$out .= '';
if ($mode == MW_TESTLOGGER_RESULT_OK) $out .= '';
$out .= htmlentities($message);
if ($mode == MW_TESTLOGGER_RESULT_OK) $out .= '';
if ($mode != MW_TESTLOGGER_CONTINUE_LINE) $out .= '
';
echo $out;
}
}