summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-05-31 16:11:23 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-05-31 16:11:23 -0400
commit6e6257fccaa0c5837101dedbe7f547bc3cc6c6bb (patch)
tree906406b9160abb62bfd598165029cdc6bc92e40b
parent268bccdf4900a8fd02b79c968e1bdf44b3f2bd39 (diff)
downloadchat-6e6257fccaa0c5837101dedbe7f547bc3cc6c6bb.tar.gz
chat-6e6257fccaa0c5837101dedbe7f547bc3cc6c6bb.tar.bz2
chat-6e6257fccaa0c5837101dedbe7f547bc3cc6c6bb.zip
Removed unnecessary wbrs (#3182)
-rw-r--r--webapp/utils/text_formatting.jsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/webapp/utils/text_formatting.jsx b/webapp/utils/text_formatting.jsx
index 7a5dc56c7..21bfe5333 100644
--- a/webapp/utils/text_formatting.jsx
+++ b/webapp/utils/text_formatting.jsx
@@ -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);