From a3c83007a4ef8fb8a02a10c173543bc232a483d5 Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Mon, 19 Nov 2018 16:39:19 +0100 Subject: [PATCH] Resolves #1618, preserve the markup if it's the last element --- tests/plugins/keep-markup/test.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/plugins/keep-markup/test.js b/tests/plugins/keep-markup/test.js index bb0e78b34b..3c28c2c7af 100644 --- a/tests/plugins/keep-markup/test.js +++ b/tests/plugins/keep-markup/test.js @@ -80,7 +80,6 @@ describe('Prism Keep Markup Plugin', function () { }) // The markup is removed if it's the last element and the element's name is a single letter: a(nchor), b(old), i(talic)... // https://github.com/PrismJS/prism/issues/1618 - /* it('should keep last single letter empty markup', function () { const result = execute(`xy`) expect(result.start.length).to.equal(1) @@ -88,5 +87,4 @@ describe('Prism Keep Markup Plugin', function () { expect(result.nodes.length).to.equal(1) expect(result.nodes[0].nodeName).to.equal('A') }) - */ })