Fixed repeating slash messages

This commit is contained in:
Igor Zhukov 2015-10-08 14:47:08 +03:00
parent 1c82f58236
commit 9b56ea5725

View File

@ -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)));