diff --git a/package.json b/package.json index fe7a2aff80..7ec54f1ab8 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "prompt": "~0.2.11", "uglify-js": "~2.4.0", "validator": "~1.5.1", - "nodebb-plugin-mentions": "~0.1.16", - "nodebb-plugin-markdown": "~0.3.1", + "nodebb-plugin-mentions": "~0.1", + "nodebb-plugin-markdown": "~0.3", "nodebb-theme-vanilla": "~0.0.12", "nodebb-theme-cerulean": "0.0.10", "cron": "~1.0.1", diff --git a/src/routes/api.js b/src/routes/api.js index 3f0dbc270c..c637dd58f5 100644 --- a/src/routes/api.js +++ b/src/routes/api.js @@ -66,7 +66,7 @@ var path = require('path'), data.motd_class = (parseInt(meta.config.show_motd, 10) === 1 || meta.config.show_motd === undefined) ? '' : ' none'; data.motd_class += (meta.config.motd && meta.config.motd.length > 0 ? '' : ' default'); - data.motd = require('marked')(meta.config.motd || "
\n\n# NodeBB v" + pkg.version + "\nWelcome to NodeBB, the discussion platform of the future."); + data.motd = require('marked')(meta.config.motd || "\n\n# NodeBB v" + pkg.version + "\nWelcome to NodeBB, the discussion platform of the future."); res.json(data); }); });