escape source code only when it is showed in tooltip