diff options
Diffstat (limited to 'webapp/tests')
-rw-r--r-- | webapp/tests/formatting_hashtags.test.jsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/webapp/tests/formatting_hashtags.test.jsx b/webapp/tests/formatting_hashtags.test.jsx index 37b84a4a8..1c7de1541 100644 --- a/webapp/tests/formatting_hashtags.test.jsx +++ b/webapp/tests/formatting_hashtags.test.jsx @@ -73,12 +73,6 @@ describe('TextFormatting.Hashtags', function() { "<p><a class='mention-link' href='#' data-hashtag='#test'>#test</a>.</p>" ); - // Known issue, trailing underscore is captured by the clientside regex but not the serverside one - assert.equal( - TextFormatting.formatText('#test_').trim(), - "<p><a class='mention-link' href='#' data-hashtag='#test_'>#test_</a></p>" - ); - assert.equal( TextFormatting.formatText('This is a sentence #test containing a hashtag').trim(), "<p>This is a sentence <a class='mention-link' href='#' data-hashtag='#test'>#test</a> containing a hashtag</p>" |