fix so text over max length in demo/index.html get highlighted