I am using pandoc to convert markdown files containing TeX bits to html.
Because the text is in Italian, I want to use comma as a decimal separator. However, pandoc keeps adding a space after the comma. Here is a simple example:
echo '0,5 $0,5$' | pandoc
it gives:
<p>0,5 <span class="math inline">0, 5</span></p>
Notice the space is not added when the number is not in math mode.
What I want is something similar to what is achieved by LaTeX package icomma, or some other workaround to prevent the insertion of the space. Any advice?