Last night I happened to notice that my last blog post didn’t look quite right when viewed in an RSS reader. Come to find out, it appears that the code that converts the UBBC tags wasn’t undoing a quote conversion earlier in the code. This caused the regular expression that tries to show bare URLs as real URLs to convert parts of my image tag into an anchor tag. Not quite what it is supposed to do. It took me hours of futzing with the code to unravel the mess. Fortunately, it was an easy fix. Use the same darn subroutine that the articles use. Duh. One freaking line of code to change.
Just goes to show, the smallest defects can be pretty darn large bugs.