satchmorun/mote — pull request #8 by gmurphey (2013-06-06 18:33:47+00:00)
Title: Fix charAt check in Leading Whitespace Handler

The latest changes to whitespace handling currently break our templating implementation.

Since `Regexp.exec` returns an array (or null), `charAt` is an undefined method. You can get around this by casting padding as a `String`.