fix bug where show_html_syntax_error overrides user specified value