diff --git a/app/js/services.js b/app/js/services.js index eaa3f231..378ae342 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -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], '', - encodeEntities(match[8]), + encodeEntities(match[9]), '' ); } else { html.push( - match[8], - encodeEntities(match[8]) + encodeEntities(match[9]) ); } }