AutoDoc: fix template checking in load_html_template()
Merge pull request #231 from xlr8or/release-1.10

AutoDoc: fix template checking in load_html_template()