Inconsistency between HTML templates

Fixes #3185
Merge pull request #3218 from LeGaS/html-incosistency

Inconsistency between HTML templates