fix #MLHR-9 Compile Widget from HTML Template