Fix for true location of sliceOn

Basically removes html markup to get true location index value for sliceOn string in text.