|
|
@@ -7,7 +7,7 @@ define [
|
|
|
minLength = minLength || DEF_MIN_LENGTH
|
|
|
|
|
|
findWordsRegEx = new RegExp "\\w{#{minLength},}", "g"
|
|
|
- wrappingTemplate = "<#{wrapperElName} style='word-break: break-all;'>$&</#{wrapperElName}>"
|
|
|
+ wrappingTemplate = "<#{wrapperElName} class=\"break-word\">$&</#{wrapperElName}>"
|
|
|
|
|
|
baseStr.replace findWordsRegEx, wrappingTemplate
|
|
|
|