Browse Source

Fixed repeating slash messages

master
Igor Zhukov 9 years ago
parent
commit
9b56ea5725
  1. 4
      app/js/lib/ng_utils.js

4
app/js/lib/ng_utils.js

@ -1631,9 +1631,7 @@ angular.module('izhukov.utils', []) @@ -1631,9 +1631,7 @@ angular.module('izhukov.utils', [])
default:
skipEntity = true;
}
if (!skipEntity) {
lastOffset = entity.offset + entity.length;
}
lastOffset = entity.offset + (skipEntity ? 0 : entity.length);
}
html.push(encodeEntities(text.substr(lastOffset)));

Loading…
Cancel
Save