closing HTML tag for inline math fixed

This fixes a typo in the HTML renderer, inline math is currently rendered as:

    <span class="inline_math">foo<span class="inline_math">

instead of:

    <span class="inline_math">foo</span>