Firefox Browser Usage and Support Forum

I'd like to use Firefox's ability to render SVG graphics and MathML equations. That works fine if Firefox opens a file with the tag XHTML. Firefox and the same file but tagged HTML won't render SVG and MathML.

I'd like to overcome this by giving an extra instruction to Firefox so that I can render SVG and MathML in a file with HTML tag.

Can you tell me what that instruction would have to be?

(I generate the pages with Ruby on Rails, which generates HTML files. If you can tell me how to change Ruby on Rails to generate XHTML tags, that would work just as well for me.) Thanks.

Thanks for the tip. I now believe, following your suggestion, the answer lies in getting a <meta http-equiv="Content-Type" content="#*$!" > to work. I've tried various things for '#*$!' including "text/xhtml" and "text/html+xml". None of those works. I'm open to all suggestions.

The objective is to get Firefox to treat a file with html tag the way it would treat the same file if it had an xhtml tag. Say, "myfile.html" versus "myfile.xhtml" The files are on my desktop.