strips classes from internal links