removes invalid , from generated html
Merge pull request #1603 from opf/fix/invalid_html_in_toc_macro

removes invalid , from generated html