Adjust method fo measuring ex and cwidth to not use block elements for inline math.  This will fail to get the cwidth for inline math inside shrinkwrapping elements (like <td> or ones with display:inline-block), but inline elements shouldn't use cwidth anyway unless there are explicit line breaks.
Adjust method fo measuring ex and cwidth to not use block elements for inline math.  This will fail to get the cwidth for inline math inside shrinkwrapping elements (like <td> or ones with display:inline-block), but inline elements shouldn't use cwidth anyway unless there are explicit line breaks.

dpvc/MathJax,GerHobbelt/MathJax,GerHobbelt/MathJax