Fixed spaces before hashtags

This commit is contained in:
Igor Zhukov 2015-03-15 23:59:04 +01:00
parent 46b2e72daf
commit a68d55ee57

View File

@ -3823,6 +3823,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
else if (match[10]) { else if (match[10]) {
if (!options.noLinks) { if (!options.noLinks) {
html.push( html.push(
encodeEntities(match[9]),
'<a href="#/im?q=', '<a href="#/im?q=',
encodeURIComponent(match[10]), encodeURIComponent(match[10]),
'">', '">',
@ -3831,6 +3832,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
); );
} else { } else {
html.push( html.push(
encodeEntities(match[9]),
encodeEntities(match[10]) encodeEntities(match[10])
); );
} }