mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Removed unnecessary wbrs (#3182)
This commit is contained in:
committed by
Joram Wilander
parent
268bccdf49
commit
6e6257fcca
@@ -88,9 +88,6 @@ export function doFormatText(text, options) {
|
||||
});
|
||||
}
|
||||
|
||||
//replace all "/" to "/<wbr />"
|
||||
output = output.replace(/\//g, '/<wbr />');
|
||||
|
||||
// reinsert tokens with formatted versions of the important words and phrases
|
||||
output = replaceTokens(output, tokens);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user