Replace .html with .text everywhere possible