Intermission
Time for a bugfix
Since the start of the year, I’ve been trying to publish about one post per week, and with ten posts so far (including this one) I’ve come pretty close to the target.
Given I missed last week’s post, I was keen to make sure I got one out today. However. I’ve found a problem.
As I’ve said before, this site is generated using Iceforge, a static site generator that, essentially, I wrote myself (with a lot of inspiration from elsewhere). Because of that, I’m responsible for fixing it myself. And I’ve discovered that at some point, I’ve brought in a bug that I wasn’t testing for.
The post I started drafting for today includes a map image, which I wanted to link back to an actual map itself. Straightforward, although the Markdown syntax can be a bit thorny. Testing the post out, though, I discovered that at some point Iceforge has gained a bug: the Markdown parser doesn’t render images inside links properly. Although Iceforge uses a dependency library for Markdown parsing, it includes custom code to rewrite image links in posts so that they always become site-absolute, which is important when an individual post gets embedded into other pages like the home page or an archive page. Somewhere in that, there must be a bug.
Potentially, I can find a workaround. Or, I can fix the bug. Or, to be honest, rewriting that whole area of Iceforge is on my Iceforge to-do list, because the dependency library is a couple of versions behind current. Because of breaking changes in the dependency, the image-link-rewrite code needs to be updated at the same time.
In other words, the post I’d written for this week is on hold, for now. Before long, hopefully, I’ll find the spare time to fix it. Until then, I’ll write about something else.

Home