Fixed errors when tag names have $ in them.

Noticed these in the Googlebot console