From b66c4285da09c0d1416dfb61b73d84fc148caf76 Mon Sep 17 00:00:00 2001
From: Erick Hitter <services@ethitter.com>
Date: Fri, 13 Jan 2017 22:56:22 -0800
Subject: [PATCH] Line breaks make formatting work

---
 index.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/index.js b/index.js
index ad1b47f..dfda53b 100644
--- a/index.js
+++ b/index.js
@@ -97,10 +97,10 @@ app.post('/post', function(req, res){
       // Build forecast into a table
       var forecastData = JSON.parse( body );
 
-      var forecastBody = "---\n#### **Forecast as of " + forecastData.forecast.txt_forecast.date + '**';
-      forecastBody += "| Day                 | Description                      | High   | Low    |";
-      forecastBody += "|:--------------------|:---------------------------------|:-------|:-------|";
-      forecastBody += "| Monday, Feb. 15     | Cloudy with a chance of flurries | 3 °C   | -12 °C |";
+      var forecastBody = "---\n#### **Forecast as of " + forecastData.forecast.txt_forecast.date + "**\n";
+      forecastBody += "| Day                 | Description                      | High   | Low    |\n";
+      forecastBody += "|:--------------------|:---------------------------------|:-------|:-------|\n";
+      forecastBody += "| Monday, Feb. 15     | Cloudy with a chance of flurries | 3 °C   | -12 °C |\n";
       forecastBody += '---';
 
       responseBody.attachments[1] = { "text": forecastBody };
-- 
GitLab