XKCD 1245 support (fixes #142)