added support for different html_strategies, take 2