Fix HTML and preprocessing with uplevels