diff --git a/core/test/unit/client_ghostdown_spec.js b/core/test/unit/client_ghostdown_spec.js index 3aa598f01e..7400a0089e 100644 --- a/core/test/unit/client_ghostdown_spec.js +++ b/core/test/unit/client_ghostdown_spec.js @@ -55,6 +55,15 @@ describe("Ghostdown showdown extensions", function () { }); }); + it("should allow 4 underscores", function () { + var processedMarkup = + ghostdown().reduce(function (prev, processor) { + return processor.filter(prev); + }, "Ghost ____"); + + processedMarkup.should.match(/Ghost\s(?:_){4}$/); + }); + it("should correctly include an image", function () { [ "![image and another,/ image](http://dsurl.stuff)",