Generate resources block on fetchHtmlResources, close #1916