fix issue with periods after links in haml