hmans / indiepants

IndiePants, aka Pants Phase 2. A clean indieweb-like implementation.
13 stars 1 forks source link

Fenced code blocks completely break post creation #53

Closed hmans closed 9 years ago

hmans commented 9 years ago

When the body of a new Pants::Post includes a fenced code block, stuff breaks. Ouch!

hmans commented 9 years ago

It happens because the link population code also consumes the a tags generated by kramdown. Duh!

hmans commented 9 years ago

We should only build links for a tags that have any of the interesting class names or rel attributes.