Update HTMLEntity.java

Fix the incorrect index sliding by using delta