Website links in markdown containing numbers are not being parsed correctly
joeycato opened this issue · 2 comments
Just started using wintersmith, and I love it so far. The main issue I'm running into is when I add a markdown link to the page as follows:
[my80stv.com](http://my80stv.com)
When it renders the HTML, it comes out looking like this:
stv.com">my80stv.com
Hovering over the link I see http://my80%3Cspan%20class%3D/
So somehow I'm triggering some kind of macro possibly? Any idea what's causing this?
From what I can tell so far it appears that the "0s" characters triggering some kind of span/class tag replacement.
Thanks!
Joey
Actually looks like I'm getting same issue even if I replace with:
<a href="http://my80stv.com">my80stv.com</a>
So maybe not markdown related. Is there some way I could escape this so that wintersmith doesn't interpret the "0s" portion as special characters?
Figured out the issue, apparently the default article.jade template settings for typogrify caused this.
By replacing:
section.content!= typogr(page.html).typogrify()
with:
section.content!= page.html
resolves the matter.
Hope that helps anyone else that might encounter this issue.