From 94b4aa082c456914d89d9926d06814bd17309a73 Mon Sep 17 00:00:00 2001 From: VeraLyu Date: Thu, 23 Mar 2017 20:19:22 +0800 Subject: PLT-5913: Remove id from heading markdown compilation (#5782) Id for heading markdown is unnecessary as we didn't attach any style/effect on that id, and it also introduce duplicate id. So remove it from heading markdown generatiing. --- webapp/tests/formatting_hashtags.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/tests') diff --git a/webapp/tests/formatting_hashtags.test.jsx b/webapp/tests/formatting_hashtags.test.jsx index 657dcf69d..cfda9aaa2 100644 --- a/webapp/tests/formatting_hashtags.test.jsx +++ b/webapp/tests/formatting_hashtags.test.jsx @@ -11,7 +11,7 @@ describe('TextFormatting.Hashtags', function() { it('Not hashtags', function(done) { assert.equal( TextFormatting.formatText('# hashtag').trim(), - '

hashtag

' + '

hashtag

' ); assert.equal( -- cgit v1.2.3-1-g7c22