Fix template docs and expand innerHTML docs