PLT-6799 Removed <wbr> tags from markdown links (#6766)

* PLT-6799 Removed <wbr> tags from markdown links

* Fixed unit tests
Этот коммит содержится в:
Harrison Healey
2017-06-28 01:47:51 -04:00
коммит произвёл Saturnino Abril
родитель 99fc4b0988
Коммит 4484c82b1b
3 изменённых файлов: 4 добавлений и 16 удалений

Просмотреть файл

@@ -489,7 +489,7 @@ describe('Markdown.Links', function() {
it('Searching for links', function(done) {
assert.equal(
TextFormatting.formatText('https://en.wikipedia.org/wiki/Unix', {searchTerm: 'wikipedia'}).trim(),
'<p><a class="theme markdown__link search-highlight" href="https://en.wikipedia.org/wiki/Unix" rel="noreferrer" target="_blank">https:/<wbr />/<wbr />en.wikipedia.org/<wbr />wiki/<wbr />Unix</a></p>'
'<p><a class="theme markdown__link search-highlight" href="https://en.wikipedia.org/wiki/Unix" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Unix</a></p>'
);
assert.equal(