There's a problem with dollar signs in lists:
* This list item costs $25
Gets formatted as
<li>This list item costs *5</li>
Without looking at the source code, it seems that the
regexp is picking up the $2 as part of a substitution
group, and replacing it with the '*' which was probably
the second thing matched in that line.
Log in to post a comment.