PLT-6799 Removed <wbr> tags from markdown links (#6766)
* PLT-6799 Removed <wbr> tags from markdown links * Fixed unit tests
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
99fc4b0988
Коммит
4484c82b1b
@@ -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(
|
||||
|
||||
Ссылка в новой задаче
Block a user