Fixed hashtag highlighting
This commit is contained in:
parent
7df3d86c00
commit
acb09bd7b5
@ -3680,20 +3680,18 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
||||
html.push(encodeEntities(match[7]));
|
||||
}
|
||||
}
|
||||
else if (match[8]) {
|
||||
else if (match[9]) {
|
||||
if (!options.noLinks) {
|
||||
html.push(
|
||||
match[8],
|
||||
'<a href="#/im?q=',
|
||||
encodeURIComponent(match[8]),
|
||||
encodeURIComponent(match[9]),
|
||||
'">',
|
||||
encodeEntities(match[8]),
|
||||
encodeEntities(match[9]),
|
||||
'</a>'
|
||||
);
|
||||
} else {
|
||||
html.push(
|
||||
match[8],
|
||||
encodeEntities(match[8])
|
||||
encodeEntities(match[9])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user