diff --git a/bower.json b/bower.json index d11105d4da..82f1728d57 100644 --- a/bower.json +++ b/bower.json @@ -14,7 +14,7 @@ "lodash": "2.4.1", "moment": "2.4.0", "nprogress": "0.1.2", - "showdown": "0.3.1", + "showdown": "git://github.com/ErisDS/showdown.git#ghost", "validator-js": "3.4.0" } } diff --git a/core/test/unit/client_showdown_int_spec.js b/core/test/unit/client_showdown_int_spec.js index 0bc0d3bb05..6fbc8f71e8 100644 --- a/core/test/unit/client_showdown_int_spec.js +++ b/core/test/unit/client_showdown_int_spec.js @@ -212,7 +212,7 @@ describe("Showdown client side converter", function () { var testPhrases = [ { input: "[Google][1]\n\n[1]: http://google.co.uk", - output: /^
Google<\/a><\/p>$/, + output: /^
Foo | \n
Bar | \n
Foo<\/td>\n <\/tr>\n |
Bar<\/td>\n <\/tr>\n<\/table>$/
+ },
+ {
+ input: " ", + output: /^ $/ + }, + { // audio isn't counted as a block tag by showdown so gets wrapped in + input: "", + output: /^ |