Widon't and Widows

coldfusion web Shaun Innman posted about a technique he call's Widon't, for dealing with the widow problem on the web.

The widow problem is when you have a single word on a line by itself, at the end of a headline or paragraph. In typesetting this word is called a widow.

This entry was:

Auto-Linking Comments

coldfusion To avoid comment spam, my blog comments are displayed as plain text. However urls to other entries on my blog are often posted to in the comments. So I wrote a simple regular expression to create hyperlinks out of them:



This entry was:

Regex to Replace Multiple Blank Lines with One

coldfusion web I'm working on a function to strip HTML, but preserve things like paragraph spacing. In removing HTML tags, sometimes you end up with lots of blank lines...

This entry was:


did you hack my cf?