Incorrect html rendering of math stuff with needextract
When using needextract, the math stuff is not properly rendered (cf both images)

Associated rst code
.. spec:: A spec with math stuff
:id: MATH_STUFF
A spec with nice math stuff :math:`x = y^2`
Note that if the needextract is on the same page, it is well rendered, but it is not the case as long as it is on a different page
Thanks for the bug report.
We had similar problems in the past with other sphinx functions and needextract. Reason for this was, that we need to trigger the related sphinx feature on our own for the page, as sphinx has not noticed that this is needed for this additional page.
Fix should be a one liner, after I figured out the internal function which deals with math expressions.
Hi @danwos is there any quick fix, to display the :math: function correct in a needsextract until the bugfix is done?