Archive for the 'Custom Tags' Category

13
Aug

CustomTag: ShortenLogUrls helps save your blog layout

We noticed recently that if someone posted a comment on our blog with a really long URL it wouldn’t wrap and as a result it would throw off the whole template. To address this we wrote a custom tag that uses regular expressions to search for long URLs in the comment area and cut off the text portion.

Continue reading ‘CustomTag: ShortenLogUrls helps save your blog layout’