Support --trace in HTML reader.