Issue 2166 html template dependencies