Fix for #161

Sorry for not doing a pull request right away, but I had trouble forking the repo for a while.

Fixes yui/yuidoc#161