> I say keep it. It doesn't hurt and is helpful if people want to style > "math" generated stuff differently from other things. One of the > things that Sphinx 1.0 changed was adding the "type" of the node to > the HTML "class" attribute just so elements could be separately > styled. For example: > > <strong class="command">rm</strong> is strong</p> > > Given that, it's easy to change the rendering of "command" roles to be > italic, underlined, etc. It doesn't have to be "strong" (bold) > anymore.
Good point. MathJax inserts so many wrapping <span> elements, even for something as simple as \( x \) - I get 7 in my browser. One more set of wrapping elements isn't going to hurt, and maintains Sphinx's consistency with other node types. Kevin -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.