Pelican problems

29 November 2015

I use Pelican to publish my little blog and it all works pretty well. If you are reading this, then its working.

However, there is a wee problem with the titles of posts when they contain capitals. Pelican uses the Typogrify library, and when a post has a title with two or more caps, it tries to surround them with a caps tag. Alas, whilst in most instances that would work ok, in the title of a post–which is also a hyperlink–it falls over and produces code that looks like:

     <a href="" rel="bookmark" title="Permanent Link to: Running with <span class="caps">ASICS</span>">Running with <span class="caps">ASICS</span></a>

which renders like:

    ASICS">Running with ASICS

Instead of:

    Running with ASICS

I could spend some time fixing it, but I am hoping that someone else will get to it before me :)