Fixes tutorial index from breaking

Checks to make sure content isn't nil before calling html_safe on it.