Fix HTML error log