gomarkdown / markdown

markdown parser and HTML renderer for Go
Other
1.36k stars 171 forks source link

Fix: escape `$` #297

Closed dawidl022 closed 8 months ago

dawidl022 commented 8 months ago

Closes #282

As suggested by @alexwennerberg, the fix is a simple 1 line change, adding the $ to the slice of backslash escape-able characters.

The \$ sequence was also added to the testdata.

kjk commented 8 months ago

thanks!