Permalink
Browse files

HTML doesn't work. Rolling back to badly formatted text.

  • Loading branch information...
1 parent e6937e3 commit 6e87024a894c18c4494f11e028d7de044615f253 @subakva subakva committed Oct 27, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/newrelic.coffee
View
@@ -42,7 +42,8 @@ parseAndPrint = (msg, body) ->
when 'Memory' then "Memory : #{threshold_value['formatted_metric_value']}"
when 'DB' then "DB : #{threshold_value['formatted_metric_value']}"
)
- msg.send "<pre>#{stat_lines.join('<br/>')}</pre>"
+ # JDW: Find a way to send the text as a "paste" so that the formatting is maintained.
+ msg.send stat_lines.join("\n")
# Example XML Response:
#

0 comments on commit 6e87024

Please sign in to comment.