Topic: emacs 22 and nxhtml

I use emacs 22, and setup nxhtml, but nxhtml is acting buggy. It randomly switches syntax highlighting on and off, and a few other issues.

What do the emacs users do for highlighting .html.erb files?