[DE PE mobile] For Bug 57125
This commit is contained in:
parent
d460ee980c
commit
49ded5c542
|
@ -616,7 +616,7 @@ const pickLink = (message) => {
|
|||
|
||||
arrayComment = arrayComment.sort(function(item1,item2){ return item1.start - item2.start; });
|
||||
|
||||
let str_res = (arrayComment.length>0) ? <label>{Common.Utils.String.htmlEncode(message.substring(0, arrayComment[0].start))}{arrayComment[0].str}</label> : <label>{message}</label>;
|
||||
let str_res = (arrayComment.length>0) ? <label>{message.substring(0, arrayComment[0].start)}{arrayComment[0].str}</label> : <label>{message}</label>;
|
||||
|
||||
for (var i=1; i<arrayComment.length; i++) {
|
||||
str_res = <label>{str_res}{Common.Utils.String.htmlEncode(message.substring(arrayComment[i-1].end, arrayComment[i].start))}{arrayComment[i].str}</label>;
|
||||
|
|
Loading…
Reference in a new issue