app/models/logical/naf/log_parser/runner.rb in naf-2.1.12 vs app/models/logical/naf/log_parser/runner.rb in naf-2.1.13

- old
+ new

@@ -1,7 +1,5 @@ -require 'yajl' - module Logical::Naf module LogParser class Runner < Base attr_accessor :invocations_ids @@ -16,10 +14,13 @@ end private def insert_log_line(elem) - "&nbsp;&nbsp;<span>#{elem['output_time']} #{invocation_link(elem['id'])}: #{elem['message']}</br></span>" + output_line = "<span><pre style='display: inline; word-wrap: break-word;'>" + output_line += CGI::unescapeHTML("#{elem['output_time']} #{invocation_link(elem['id'])}:") + output_line += " #{elem['message']}</pre></br></span>" + output_line end def invocation_link(id) "<a href=\"machine_runner_invocations\/#{id}\" style=\"font-weight:bold; color: #333399\">invocation(#{id})</a>" end